Name
AOP — Does processing before and/or after the route is completed
Usage
![]() | Warning |
---|---|
The AOP pattern has been deprecated in Apache Camel. |
The AOP pattern allows you to specify processing steps that are performed around a processing step. The processing steps can be done either before, after, or before and after the preceding step in the route.
An AOP pattern can occur anywhere in the body of a route.
Properties
Table 6.1 describes the properties you can specify using the properties editor.
Table 6.1. AOP Properties
Name | Description |
---|---|
After Uri | Specifies an endpoint to which the messages are sent after the AOP pattern is finished processing. |
Before Uri | Specifies an endpoint to which the messages are sent before the AOP pattern is finished processing. |
After Finally Uri | Specifies an endpoint to which the messages are sent after the AOP pattern is finished processing. The endpoint in specified in this property is invoked from a finally block and is guaranteed to get the message in the event of an exception. |
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. |