Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- activeProfiles() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Which active profiles should be used.
- afterTestMethod(TestContext) - Method in class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
- afterTestMethod(TestContext) - Method in class org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener
- applicationContext - Variable in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- AutoStartupExclude - Annotation Interface in org.apache.camel.test.spring.junit5
-
Used for exclusive filtering of routes to not automatically start with Camel starts.
B
- beforeTestClass(TestContext) - Method in class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
- beforeTestMethod(TestContext) - Method in class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
- beforeTestMethod(TestContext) - Method in class org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener
C
- CamelAnnotationsHandler - Class in org.apache.camel.test.spring.junit5
- CamelSpringBootExecutionListener - Class in org.apache.camel.test.spring.junit5
- CamelSpringBootExecutionListener() - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
- CamelSpringBootTest - Annotation Interface in org.apache.camel.test.spring.junit5
-
Camel Spring Boot unit test.
- CamelSpringTest - Annotation Interface in org.apache.camel.test.spring.junit5
- CamelSpringTestContextLoader - Class in org.apache.camel.test.spring.junit5
-
Replacement for the default
GenericXmlContextLoaderthat provides hooks for processing some class level Camel related test annotations. - CamelSpringTestContextLoader() - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
- CamelSpringTestContextLoaderTestExecutionListener - Class in org.apache.camel.test.spring.junit5
-
Helper for
CamelSpringTestContextLoaderthat sets the test class state inCamelSpringTestHelperalmost immediately before the loader initializes the Spring context. - CamelSpringTestContextLoaderTestExecutionListener() - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoaderTestExecutionListener
- CamelSpringTestHelper - Class in org.apache.camel.test.spring.junit5
-
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.
- CamelSpringTestHelper.DoToSpringCamelContextsStrategy - Interface in org.apache.camel.test.spring.junit5
- CamelSpringTestSupport - Class in org.apache.camel.test.spring.junit5
-
Base test-class for classic Spring application such as standalone, web applications.
- CamelSpringTestSupport() - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- CamelSpringTestSupport.MyXmlApplicationContext - Class in org.apache.camel.test.spring.junit5
- CamelSpringTestSupport.TranslatedResource - Class in org.apache.camel.test.spring.junit5
- CamelTestContextBootstrapper - Class in org.apache.camel.test.spring.junit5
-
To bootstrap Camel for testing with Spring 4.1 onwards.
- CamelTestContextBootstrapper() - Constructor for class org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper
- cleanup() - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Cleanup/restore global state to defaults / pre-test values after the test setup is complete.
- createApplicationContext() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- createCamelContext() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- createContext(Class<?>, MergedContextConfiguration) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Creates and starts the Spring context while optionally starting any loaded Camel contexts.
D
- DisableJmx - Annotation Interface in org.apache.camel.test.spring.junit5
-
Indicates if JMX should be globally disabled in the
CamelContexts that are bootstrapped during the test through the use of Spring Test loaded application contexts. - doPostTearDown() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- doPreSetup() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- doToSpringCamelContexts(ApplicationContext, CamelSpringTestHelper.DoToSpringCamelContextsStrategy) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
-
Executes
strategyagainst allSpringCamelContexts found in the Spring context. - dumpRouteCoverage(CamelContext, String, String) - Static method in class org.apache.camel.test.spring.junit5.RouteCoverageDumper
E
- EnableRouteCoverage - Annotation Interface in org.apache.camel.test.spring.junit5
-
Enables dumping route coverage statistic.
- EnableRouteDump - Annotation Interface in org.apache.camel.test.spring.junit5
-
Whether to dump the routes loaded into Camel for each test (dumped into files in target/camel-route-dump).
- excludeRoute() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Template method used to exclude a
Routefrom the test camel context - excludeRoutes() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Template method used to exclude
Routefrom the test time context route scanning - ExcludeRoutes - Annotation Interface in org.apache.camel.test.spring.junit5
-
Indicates if certain route builder classes should be excluded from discovery.
- execute(String, SpringCamelContext) - Method in interface org.apache.camel.test.spring.junit5.CamelSpringTestHelper.DoToSpringCamelContextsStrategy
F
- format() - Element in annotation interface org.apache.camel.test.spring.junit5.EnableRouteDump
-
The format to dump as either xml or yaml.
G
- getAllMethods(Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
-
Returns all methods defined in
clazzand its superclasses/interfaces. - getConfigResources() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport.MyXmlApplicationContext
- getDefaultContextLoaderClass(Class<?>) - Method in class org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper
- getDescription() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport.TranslatedResource
- getInputStream() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport.TranslatedResource
- getMandatoryBean(Class<T>, String) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Looks up the mandatory spring bean of the given name and type, failing if it is not present or the correct type
- getOrder() - Method in class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
-
Returns the precedence used by Spring to choose the appropriate execution order of test listeners.
- getOrder() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoaderTestExecutionListener
-
Returns the precedence used by Spring to choose the appropriate execution order of test listeners.
- getOrder() - Method in class org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener
-
Returns the precedence used by Spring to choose the appropriate execution order of test listeners.
- getOriginalExcludeRoutes() - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- getOriginalJmxDisabled() - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- getPrecedence(Class<?>) - Static method in class org.apache.camel.test.spring.junit5.SpringTestExecutionListenerSorter
- getResourceSuffix() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Returns "
-context.xml". - getRouteExcludingApplicationContext() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Create a parent context that initializes a
PackageScanClassResolverto exclude a set of given classes from being resolved. - getStopWatch() - Static method in class org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener
-
Exists primarily for testing purposes, but allows for access to the underlying stop watch instance for a test.
- getTestClass() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Returns the class under test to enable inspection of annotations while the Spring context is being created.
- getTestClass() - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- getTestContext() - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- getTestMethod() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Returns the test method under test.
- getTestMethod() - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- getTranslationProperties() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
H
- handleAutoStartupExclude(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles auto-stub of endpoints with mocks based on
StubEndpoints. - handleCamelContextStartup(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles starting of Camel contexts based on
UseAdviceWithand other state in the JVM. - handleDisableJmx(Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles disabling of JMX on Camel contexts based on
DisableJmx. - handleExcludeRoutes(Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles @ExcludeRoutes to make it easier to exclude other routes when testing with Spring.
- handleMockEndpoints(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles auto-intercepting of endpoints with mocks based on
MockEndpoints. - handleMockEndpointsAndSkip(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles auto-intercepting of endpoints with mocks based on
MockEndpointsAndSkipand skipping the original endpoint. - handleProvidesBreakpoint(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
- handleRouteCoverageDump(ConfigurableApplicationContext, Class<?>, Function<CamelSpringTestHelper.DoToSpringCamelContextsStrategy, String>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Dumps the route coverage after test is executed
- handleRouteCoverageEnable(ConfigurableApplicationContext, Class<?>, Function) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles enabling route coverage based on
EnableRouteCoverage. - handleRouteDump(ConfigurableApplicationContext, Class<?>, Function<CamelSpringTestHelper.DoToSpringCamelContextsStrategy, String>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Dumps the route after test is executed
- handleRouteDumpEnable(ConfigurableApplicationContext, Class<?>, Function) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles enabling route dump based on
EnableRouteDump. - handleShutdownTimeout(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles updating shutdown timeouts on Camel contexts based on
ShutdownTimeout. - handleStubEndpoints(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles auto-stub of endpoints with mocks based on
StubEndpoints. - handleUseOverridePropertiesWithPropertiesComponent(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles override this method to include and override properties with the Camel
PropertiesComponent.
I
- isEnabled(CamelEvent) - Method in class org.apache.camel.test.spring.junit5.RouteCoverageEventNotifier
- isEnabled(CamelEvent) - Method in class org.apache.camel.test.spring.junit5.RouteDumpEventNotifier
L
- loadBeanDefinitions(GenericApplicationContext, Class<?>, String...) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
- loadBeanDefinitions(GenericApplicationContext, MergedContextConfiguration) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
- loadContext(String...) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Modeled after the Spring implementation in
AbstractGenericContextLoader, this method creates and refreshes the application context while providing for processing of additional Camel specific post-refresh actions. - loadContext(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Performs the bulk of the Spring application context loading/customization.
- loadContext(MergedContextConfiguration) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoader
-
Modeled after the Spring implementation in
AbstractGenericContextLoader, this method creates and refreshes the application context while providing for processing of additional Camel specific post-refresh actions. - LOCK - Static variable in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
M
- MockEndpoints - Annotation Interface in org.apache.camel.test.spring.junit5
-
Triggers the auto-mocking of endpoints whose URIs match the provided filter.
- MockEndpointsAndSkip - Annotation Interface in org.apache.camel.test.spring.junit5
-
Triggers the auto-mocking of endpoints whose URIs match the provided filter with the added provision that the endpoints are also skipped.
- MyXmlApplicationContext(String[], Class<?>, Map<String, String>) - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringTestSupport.MyXmlApplicationContext
- MyXmlApplicationContext(String, Class<?>, Map<String, String>) - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringTestSupport.MyXmlApplicationContext
N
- newAppContext(String) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- newAppContext(String...) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- newAppContext(String[], Class<?>, Map<String, String>) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- newAppContext(String, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- newAppContext(String, Class<?>, Map<String, String>) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- notify(CamelEvent) - Method in class org.apache.camel.test.spring.junit5.RouteCoverageEventNotifier
- notify(CamelEvent) - Method in class org.apache.camel.test.spring.junit5.RouteDumpEventNotifier
O
- org.apache.camel.test.spring.junit5 - package org.apache.camel.test.spring.junit5
P
- postProcessTest() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- prepareTestInstance(TestContext) - Method in class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
- prepareTestInstance(TestContext) - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestContextLoaderTestExecutionListener
- ProvidesBreakpoint - Annotation Interface in org.apache.camel.test.spring.junit5
-
Indicates that the annotated method returns a
Breakpointfor use in the test.
R
- RouteCoverageDumper - Class in org.apache.camel.test.spring.junit5
-
Helper to dump route coverage when using
EnableRouteCoverage. - RouteCoverageEventNotifier - Class in org.apache.camel.test.spring.junit5
- RouteCoverageEventNotifier(String, Function<RouteCoverageEventNotifier, String>) - Constructor for class org.apache.camel.test.spring.junit5.RouteCoverageEventNotifier
- RouteDumpEventNotifier - Class in org.apache.camel.test.spring.junit5
- RouteDumpEventNotifier(String, Function<RouteDumpEventNotifier, String>, String) - Constructor for class org.apache.camel.test.spring.junit5.RouteDumpEventNotifier
S
- setOriginalExcludeRoutesValue(String) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- setOriginalJmxDisabledValue(String) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- setTestContext(TestContext) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
- ShutdownTimeout - Annotation Interface in org.apache.camel.test.spring.junit5
-
Indicates to set the shutdown timeout of all
CamelContexts instantiated through the use of Spring Test loaded application contexts. - SpringTestExecutionListenerSorter - Class in org.apache.camel.test.spring.junit5
-
This class centralizes the order of execution of spring test execution listeners:
CamelSpringTestContextLoaderTestExecutionListenerStopWatchTestExecutionListenerSpring default listeners - StopWatchTestExecutionListener - Class in org.apache.camel.test.spring.junit5
-
An execution listener that simulates the timing output built in to
CamelTestSupport. - StopWatchTestExecutionListener() - Constructor for class org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener
- StubEndpoints - Annotation Interface in org.apache.camel.test.spring.junit5
-
Triggers the auto-stub of endpoints whose URIs match the provided filter.
T
- TEST_CLASS_NAME_PROPERTY - Static variable in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- TEST_CLASS_SIMPLE_NAME_PROPERTY - Static variable in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- TEST_DIRECTORY_PROPERTY - Static variable in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- THREAD_APP_CONTEXT - Static variable in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- threadApplicationContext - Static variable in class org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener
- threadStopWatch - Static variable in class org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener
- timeUnit() - Element in annotation interface org.apache.camel.test.spring.junit5.ShutdownTimeout
-
The time unit that
ShutdownTimeout.value()is in. - TranslatedResource(Resource, Map<String, String>) - Constructor for class org.apache.camel.test.spring.junit5.CamelSpringTestSupport.TranslatedResource
U
- UseAdviceWith - Annotation Interface in org.apache.camel.test.spring.junit5
-
Indicates the use of
adviceWith()within the test class. - UseOverridePropertiesWithPropertiesComponent - Annotation Interface in org.apache.camel.test.spring.junit5
-
Indicates that the annotated method returns a
Propertiesfor use in the test, and that those properties override any existing properties configured on thePropertiesComponent.
V
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.AutoStartupExclude
-
The pattern to use for matching route ids or endpoint uris to exclude from auto starting when Camel startup.
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.DisableJmx
-
Whether the test annotated with this annotation should be run with JMX disabled in Camel.
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.ExcludeRoutes
-
The classes to exclude from resolution when using package scanning.
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.MockEndpoints
-
The pattern to use for matching endpoints to enable mocking on.
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.MockEndpointsAndSkip
-
The pattern to use for matching endpoints to enable mocking on.
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.ShutdownTimeout
-
The shutdown timeout to set on the
CamelContext(s). - value() - Element in annotation interface org.apache.camel.test.spring.junit5.StubEndpoints
-
The pattern to use for matching endpoints to enable stub on.
- value() - Element in annotation interface org.apache.camel.test.spring.junit5.UseAdviceWith
-
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.
All Classes and Interfaces|All Packages|Constant Field Values