org.apache.camel
Annotation Type MessageDriven
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD,CONSTRUCTOR})
public @interface MessageDriven
Used to indicate a method on a POJO which is used as a Consumer
of
Exchange
instances to process Message
instances.
Either a URI for an
endpoint should be configured, or a name of an endpoint which refers to a
Spring bean name in your Spring ApplicationContext.
- Version:
- $Revision: 630591 $
uri
public abstract String uri
- Default:
- ""
name
public abstract String name
- Default:
- ""
Apache CAMEL