## Name

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

## Usage

| 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

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 whether the node should use the error handler configured for the route. The default is `Disabled`.
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Camel XML file.
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.