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: 523756 $
uri
public abstract String uri
- Default:
- ""
name
public abstract String name
- Default:
- ""
Copyright © 2007 Apache Software Foundation. All Rights Reserved.