Package org.apache.camel
Annotation Type Produce
-
@Retention(RUNTIME) @Documented @Target({FIELD,METHOD}) public @interface Produce
Marks a field or property as being a producer to anEndpoint
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 messageExchange
via the Bean Integration mechanism.- See Also:
InOnly
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
binding
Whether to use bean parameter bindingString
property
Use the field or getter on the bean to provide the uri to produce toString
uri
Deprecated.use value insteadString
value
The uri to produce to
-
-
-
Element Detail
-
value
String value
The uri to produce to- Default:
- ""
-
-
-
uri
@Deprecated String uri
Deprecated.use value insteadThe uri to produce to- Default:
- ""
-
-
-
property
String property
Use the field or getter on the bean to provide the uri to produce to- Default:
- ""
-
-