Package org.apache.camel.test.spring.junit5
-
Interface Summary Interface Description CamelSpringTestHelper.DoToSpringCamelContextsStrategy -
Class Summary Class Description CamelAnnotationsHandler CamelSpringBootExecutionListener CamelSpringTestContextLoader Replacement for the defaultGenericXmlContextLoader
that provides hooks for processing some class level Camel related test annotations.CamelSpringTestContextLoaderTestExecutionListener Helper forCamelSpringTestContextLoader
that sets the test class state inCamelSpringTestHelper
almost immediately before the loader initializes the Spring context.CamelSpringTestHelper Helper that provides state information across the levels of Spring Test that do not expose the necessary context/state for integration of Camel testing features into Spring test.CamelSpringTestSupport Base test-class for classic Spring application such as standalone, web applications.CamelSpringTestSupport.MyXmlApplicationContext CamelSpringTestSupport.TranslatedResource CamelTestContextBootstrapper To bootstrap Camel for testing with Spring 4.1 onwards.RouteCoverageDumper Helper to dump route coverage when usingEnableRouteCoverage
.RouteCoverageEventNotifier SpringTestExecutionListenerSorter This class centralizes the order of execution of spring test execution listeners:CamelSpringTestContextLoaderTestExecutionListener
StopWatchTestExecutionListener
Spring default listenersStopWatchTestExecutionListener An execution listener that simulates the timing output built in toCamelTestSupport
. -
Annotation Types Summary Annotation Type Description CamelSpringBootTest CamelSpringTest DisableJmx Indicates if JMX should be globally disabled in theCamelContext
s that are bootstrapped during the test through the use of Spring Test loaded application contexts.EnableRouteCoverage Enables dumping route coverage statistic.ExcludeRoutes Indicates if certain route builder classes should be excluded from discovery.MockEndpoints Triggers the auto-mocking of endpoints whose URIs match the provided filter.MockEndpointsAndSkip Triggers the auto-mocking of endpoints whose URIs match the provided filter with the added provision that the endpoints are also skipped.ProvidesBreakpoint Indicates that the annotated method returns aBreakpoint
for use in the test.ShutdownTimeout Indicates to set the shutdown timeout of allCamelContext
s instantiated through the use of Spring Test loaded application contexts.UseAdviceWith Indicates the use ofadviceWith()
within the test class.UseOverridePropertiesWithPropertiesComponent Indicates that the annotated method returns aProperties
for use in the test, and that those properties override any existing properties configured on thePropertiesComponent
.