Package org.apache.camel.cdi
Annotation Type Uri
-
@Qualifier @Retention(RUNTIME) @Target({TYPE,METHOD,FIELD,PARAMETER}) public @interface Uri
A CDI qualifier to define the Camel URI associated to the annotated resource. This annotation can be used to annotate an@Inject
injection point for values of typeEndpoint
orProducerTemplate
. For example:@Inject @Uri("mock:foo") Endpoint endpoint; @Inject @Uri("seda:bar") ProducerTemplate producer;