org.apache.camel
Annotation Type Consume
@Retention(value=RUNTIME)
@Documented
@Target(value={FIELD,METHOD,CONSTRUCTOR})
public @interface Consume
Subscribes a method to an 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.
- Version:
- $Revision: 738604 $
uri
public abstract String uri
- Default:
- ""
ref
public abstract String ref
- Default:
- ""
Copyright © 2009 Apache Software Foundation. All Rights Reserved.