org.apache.camel
Annotation Type Produce


@Retention(value=RUNTIME)
@Documented
@Target(value={FIELD,METHOD,CONSTRUCTOR})
public @interface Produce

Marks a field or property as being a producer 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. Methods invoked on the producer object are then converted to a message Exchange via the Bean Integration mechanism.

Version:
See Also:
InOnly

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