Package org.apache.camel.test.spring.junit5
package org.apache.camel.test.spring.junit5
-
ClassDescriptionUsed for exclusive filtering of routes to not automatically start with Camel starts.Camel Spring Boot unit test.Replacement for the default
GenericXmlContextLoaderthat provides hooks for processing some class level Camel related test annotations.Helper forCamelSpringTestContextLoaderthat sets the test class state inCamelSpringTestHelperalmost immediately before the loader initializes the Spring context.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.Base test-class for classic Spring application such as standalone, web applications.To bootstrap Camel for testing with Spring 4.1 onwards.Indicates if JMX should be globally disabled in theCamelContexts that are bootstrapped during the test through the use of Spring Test loaded application contexts.Enables dumping route coverage statistic.Whether to dump the routes loaded into Camel for each test (dumped into files in target/camel-route-dump).Indicates if certain route builder classes should be excluded from discovery.Triggers the auto-mocking of endpoints whose URIs match the provided filter.Triggers the auto-mocking of endpoints whose URIs match the provided filter with the added provision that the endpoints are also skipped.Indicates that the annotated method returns aBreakpointfor use in the test.Helper to dump route coverage when usingEnableRouteCoverage.Indicates to set the shutdown timeout of allCamelContexts instantiated through the use of Spring Test loaded application contexts.This class centralizes the order of execution of spring test execution listeners:CamelSpringTestContextLoaderTestExecutionListenerStopWatchTestExecutionListenerSpring default listenersAn execution listener that simulates the timing output built in toCamelTestSupport.Triggers the auto-stub of endpoints whose URIs match the provided filter.Indicates the use ofadviceWith()within the test class.Indicates that the annotated method returns aPropertiesfor use in the test, and that those properties override any existing properties configured on thePropertiesComponent.