How to define connection settings - 6.3

Talend Data Fabric Studio User Guide

English (United States)
Talend Data Fabric
Talend Studio
Data Quality and Preparation
Design and Development

You can display the properties of a connection by selecting it and clicking the Component view tab, or by right-clicking the connection and selecting Settings from the contextual menu. However, not all connections have properties displayed in this tab. This section summarizes connection property settings.

Catch connection settings

You can set a Catch link to catch the exception thrown by the try link of the cTry component.

  1. Simply select the Catch link of your Route to display the related Basic settings view of the Components tab.

  2. In the Exceptions field, type in the name of the exception class that is likely to occur in the try routing. If you type in java.lang.Exception.class, mother of all exceptions, any exception will be caught. But you can try to fine-tune the exception generated by specifying a more precise exception class.

When executing your Route, if an exception occurs in routing following a try link, it will be caught by the catch link corresponding better to the exception. For more information, see Row connection.

When connection settings

You can set a When link to filter messages according to a condition and route those filtered messages:

  1. Simply select the When link of your routing to display the related Basic settings view of the Components tab.

  2. In the Type list, select the type of condition you want to use in the routing.

  3. In the Condition field, type in the condition you want to use to filter your messages.

When executing your Route, messages matching the condition defined in the when link will be passed to the following component and messages not matching it can either be lost or retrieved via an otherwise link. For more information, see Catch connection settings and for a scenario using those links, see Talend ESB Mediation Components Reference Guide.