org.apache.camel
Annotation Type EndpointInject
@Retention(value=RUNTIME)
@Documented
@Target(value={FIELD,METHOD,CONSTRUCTOR})
public @interface EndpointInject
Used to indicate an injection point of an Endpoint, Producer or
ProducerTemplate into a POJO.
A URI for an endpoint
can be specified on this annotation, or a name can be specified which is resolved in the
Registry 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.
- Version:
|
Optional Element Summary |
java.lang.String |
context
|
java.lang.String |
ref
|
java.lang.String |
uri
|
uri
public abstract java.lang.String uri
- Default:
- ""
ref
public abstract java.lang.String ref
- Default:
- ""
context
public abstract java.lang.String context
- Default:
- ""
Apache CAMEL