org.apache.camel.cdi
Annotation Type Uri
@Qualifier
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD,FIELD,PARAMETER})
public @interface Uri
An injection annotation to define the Camel URI used
to reference the underlying Camel Endpoint.
This annotation can be used to annotate an @Inject injection point for values of type
Endpoint
or ProducerTemplate
with a String URI.
For example:
public class Foo {
Optional Element Summary |
String |
context
Returns the name of the CamelContext to use to resolve the endpoint for this URI |
value
public abstract String value
- Returns the Camel URI of the endpoint
context
public abstract String context
- Returns the name of the CamelContext to use to resolve the endpoint for this URI
- Default:
- ""
Apache Camel