org.apache.camel.cdi
Annotation Type Mock


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

A qualifier for injecting instances of MockEndpoint into a bean.


Optional Element Summary
 String context
          Returns the name of the CamelContext to use to resolve the endpoint for this URI
 String value
          Returns an optional URI used to create the MockEndpoint
 

value

public abstract String value
Returns an optional URI used to create the MockEndpoint

Default:
""

context

public abstract String context
Returns the name of the CamelContext to use to resolve the endpoint for this URI

Default:
""


Apache Camel