...
Parameter Binding Annotations
Info | ||
---|---|---|
| ||
The annotations below is are all part of camel-core and its Bean component and thus does not require camel-spring or Spring. These annotations is to can be used with the Bean component .or when invoking beans in the DSL |
Annotations The annotations can be used to bind in situations where traditional methods would result in ambiguous methods. So by adding annotations you can decorate your bean to help Camel invoke the correct method.You can also use the following annotations to bind parameters to different kinds of Expressionto define an Expression or to extract various headers, properties or payloads from a Message when invoking a bean method (see Bean Integration for more detail of how to invoke bean methods) together with being useful to help disambiguate which method to invoke.
The core annotations are as follows
Annotation | Meaning |
---|---|
To bind to an inbound message body | |
To bind to an inbound message header | |
To bind to the Map of the inbound message headers | |
To bind to the Map of the outbound message headers | |
To bind to a named property on the exchange | |
To bind to the property map on the exchange |
...