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 type Endpoint or ProducerTemplate. For example:
     
     @Inject
     @Uri("mock:foo")
     Endpoint endpoint;
    
     @Inject
     @Uri("seda:bar")
     ProducerTemplate producer;
     
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Returns the Camel URI of the resource.