@Retention(value=RUNTIME) @Documented @Target(value={FIELD,METHOD,CONSTRUCTOR}) public @interface Produce
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.InOnly
Modifier and Type | Optional Element and Description |
---|---|
boolean |
binding
Whether to use bean parameter binding
|
String |
context
Id of
CamelContext to use |
String |
property
Use the field or getter on the bean to provide the uri to produce to
|
String |
ref
Reference to endpoint to produce to
|
String |
uri
The uri to produce to
|
public abstract String context
CamelContext
to usepublic abstract boolean binding
Apache Camel