Name
Try — Marks the beginning of a try, catch, finally block
Usage
The try pattern is the entry point for a try, catch, finally block.
The try pattern can appear anywhere in a route body. It can be followed by any patterns. It must be followed by at least one catch node that is parallel to the normal processing path. It can also be followed by a finally node that is parallel to the normal processing path and the paths started by catch nodes.
Properties
Table 4.15 describes the properties you can specify using the properties editor.
Table 4.15. Try Properties
Name | Description |
---|---|
Inherit Error Handler | Specifies if the node should use the error handler configured for the route. |
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file. |
Description | Specifies a text description of the bean. The description is included in the generated XML file. |