|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface UseAdviceWith
Indicates the use of adviceWith()
within the test class. If a class is annotated with
this annotation and value()
returns true, any
CamelContext
s bootstrapped during the test through the use of Spring Test loaded
application contexts will not be started automatically. The test author is responsible for
injecting the Camel contexts into the test and executing CamelContext.start()
on them
at the appropriate time after any advice has been applied to the routes in the Camel context(s).
Optional Element Summary | |
---|---|
boolean |
value
Whether the test annotated with this annotation should be treated as if adviceWith() is in use in the test and the Camel contexts should not be started
automatically. |
public abstract boolean value
adviceWith()
is in use in the test and the Camel contexts should not be started
automatically.
Defaults to true
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |