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:
$Revision: 738604 $
See Also:
InOnly

Optional Element Summary
 String ref
           
 String uri
           
 

uri

public abstract String uri
Default:
""

ref

public abstract String ref
Default:
""


Copyright © 2009 Apache Software Foundation. All Rights Reserved.