org.apache.camel.cdi
Annotation Type ContextName


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD,FIELD,PARAMETER})
public @interface ContextName

Used to bind objects to a named CamelContext instance such as RouteBuilder instances.


Optional Element Summary
 String value
          Returns the name of the CamelContext to add the routes to.
 

value

public abstract String value
Returns the name of the CamelContext to add the routes to. If no value is specified then the default CamelContext is used.

Default:
""


Apache Camel