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 anEndpointeither 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 messageExchangevia the Bean Integration mechanism.- See Also:
InOnly
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanbindingWhether to use bean parameter bindingStringpropertyUse the field or getter on the bean to provide the uri to produce toStringuriDeprecated.use value insteadStringvalueThe 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:
- ""
-
-