Table of Contents
Marks the beginning of a Try, Catch, Finally block
The Do Try pattern is the entry point for a Try, Catch, Finally block.
The Do 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.
Table 62, “Do Try Properties” describes the properties you can specify using the properties editor.
Table 62. Do Try Properties
| Name | Description |
|---|---|
| Specifies a text description for the node. This description is included in the generated XML file, but it is informational only. It is not used by Apache Camel. |
| Specifies a unique identifier for the endpoint. The tooling automatically generates an id for a node when it is created, but you can remove that id or replace it with your own. The Camel debugger requires all nodes with a breakpoint set to have a unique id. You can use the id to refer to endpoints in your Camel XML file. |