Name
Rollback — Forces a rollback of a route
Usage
The rollback pattern forces a route to rollback all of the already executed processing.
The rollback pattern can appear anywhere in the body of a route.
Properties
Table 4.11 describes the properties you can specify using the properties editor.
Table 4.11. Rollback Properties
Name | Description |
---|---|
Message | Specifies a message to be sent when a transaction is rolled back. |
Mark Rollback Only | Specifies that an RollbackExchangeException is
not thrown. This property cannot be checked if Mark Rollback Only
Last is checked. |
Mark Rollback Only Last | Specifies that an RollbackExchangeException is
not thrown and only the current transaction is rolled back. This property cannot
be checked if Mark Rollback Only is checked. |
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. |