Package org.apache.camel
Annotation Type EndpointInject
-
@Retention(RUNTIME) @Documented @Target({FIELD,METHOD}) public @interface EndpointInject
Used to indicate an injection point of anEndpoint
,Producer
orProducerTemplate
into a POJO. A URI for an endpoint can be specified on this annotation, or a name can be specified which is resolved in theRegistry
such as in your Spring ApplicationContext. If no ref or uri is specified then the ref is defaulted from the field, property or method name.
-
-
Element Detail
-
value
String value
The uri of the endpoint- Default:
- ""
-
-
-
uri
@Deprecated String uri
Deprecated.use value insteadThe uri of the endpoint- Default:
- ""
-
-
-
property
String property
Use the field or getter on the bean to provide the uri of the endpoint- Default:
- ""
-
-