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:

Optional Element Summary
 String context
           
 String ref
           
 String uri
           
 

uri

public abstract String uri
Default:
""

ref

public abstract String ref
Default:
""

context

public abstract String context
Default:
""


Apache CAMEL