cIntercept
Intercepts each message sub-route and redirects it in another sub-route without modifying the original one. When this detour is complete, message routing to the originally intended target endpoints continues. This can be useful at testing time to simulate error handling.
For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.
cIntercept Standard properties
These properties are used to configure cIntercept running in the Standard Job framework.
The Standard cIntercept component belongs to the Exception Handling family.
Basic settings
| Properties | Description |
|---|---|
|
Intercept type |
Select the intercept type from:
|
| Component filter | This option is available when the From or
To intercept type is selected. Enter the component name
if you want to only intercept specific components. The component filter
supports endpoint pattern matching by the following rules in the given order:
|
| Send to original endpoint | This option is available when the To intercept type is selected. When enabled, the message will be sent to the original endpoint. If this checkbox is cleared, the message will not be sent to the original intended destination. |
| Send to additional endpoint | This endpoint is available when the To intercept type is selected. If you want to send the message to additional endpoint, select this checkbox and specify the additional endpoint in the After URI field. When this option is enabled, the message will be sent to the original endpoint as well even if the Send to original endpoint option is disabled. |
Usage
| Usage guidance | Description |
|---|---|
|
Usage rule |
cIntercept is a start component of a sub-route. |
|
Connections |
|
|
Limitation |
To keep the original sub-routes untouched, cIntercept only be used in a separate sub-route. |