@Retention(value=RUNTIME) @Documented @Target(value=METHOD) public @interface Consume
Endpoint
either via its URI or via
the name of the endpoint reference which is then resolved in a registry such as the Spring Application Context.
When a message Exchange
is received from the Endpoint
then the
Bean Integration mechanism is used to map the incoming
Message
to the method parameters.Modifier and Type | Optional Element and Description |
---|---|
String |
predicate
Optional predicate (using simple language) to only consume if the predicate matches .
|
String |
property
Use the field or getter on the bean to provide the uri to consume from
|
String |
uri
Deprecated.
use value instead
|
String |
value
The uri to consume from
|
public abstract String value
@Deprecated public abstract String uri
public abstract String property
public abstract String predicate
Apache Camel