@Retention(value=RUNTIME) @Documented @Target(value={FIELD,METHOD,CONSTRUCTOR}) 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.Apache Camel