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: 788297 $
- See Also:
InOnly
uri
public abstract String uri
- Default:
- ""
ref
public abstract String ref
- Default:
- ""
context
public abstract String context
- Default:
- ""
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.