Package org.apache.camel.test.spring.junit5
package org.apache.camel.test.spring.junit5
-
ClassDescriptionReplacement for the default
GenericXmlContextLoader
that provides hooks for processing some class level Camel related test annotations.Helper forCamelSpringTestContextLoader
that sets the test class state inCamelSpringTestHelper
almost 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 theCamelContext
s that are bootstrapped during the test through the use of Spring Test loaded application contexts.Enables dumping route coverage statistic.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 aBreakpoint
for use in the test.Helper to dump route coverage when usingEnableRouteCoverage
.Indicates to set the shutdown timeout of allCamelContext
s instantiated through the use of Spring Test loaded application contexts.This class centralizes the order of execution of spring test execution listeners:CamelSpringTestContextLoaderTestExecutionListener
StopWatchTestExecutionListener
Spring default listenersAn execution listener that simulates the timing output built in toCamelTestSupport
.Indicates the use ofadviceWith()
within the test class.Indicates that the annotated method returns aProperties
for use in the test, and that those properties override any existing properties configured on thePropertiesComponent
.