Name

AOP — Does processing before and/or after the route is completed

Usage

[Important]Important

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 99 describes the properties you can specify using the properties editor.

Table 99. AOP Properties

NameDescription
After UriSpecifies an endpoint to which the messages are sent after the AOP pattern is finished processing.
Before UriSpecifies an endpoint to which the messages are sent before the AOP pattern is finished processing.
After Finally UriSpecifies 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 HandlerSpecifies whether the node should use the error handler configured for the route. The default is Disabled.
IdSpecifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Camel XML file.
DescriptionSpecifies 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.