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
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
- CamelSpringTest - Annotation Interface in org.apache.camel.test.spring.junit5
- CamelSpringTestContextLoader - Class in org.apache.camel.test.spring.junit5
-
Replacement for the default
GenericXmlContextLoader
that 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
CamelSpringTestContextLoader
that sets the test class state inCamelSpringTestHelper
almost 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
CamelContext
s 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
strategy
against allSpringCamelContext
s 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.
- excludeRoute() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Template method used to exclude a
Route
from the test camel context - excludeRoutes() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
-
Template method used to exclude
Route
from 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
G
- getAllMethods(Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelSpringTestHelper
-
Returns all methods defined in
clazz
and 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 that is 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 that is 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 that is 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
PackageScanClassResolver
to 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 in order 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
- handleCamelContextStartup(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles starting of Camel contexts based on
UseAdviceWith
and 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
MockEndpointsAndSkip
and skipping the original endpoint. - handleProvidesBreakpoint(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
- handleRouteCoverage(ConfigurableApplicationContext, Class<?>, Function) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles disabling of JMX on Camel contexts based on
EnableRouteCoverage
. - handleRouteCoverageDump(ConfigurableApplicationContext, Class<?>, Function<CamelSpringTestHelper.DoToSpringCamelContextsStrategy, String>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
- handleShutdownTimeout(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.junit5.CamelAnnotationsHandler
-
Handles updating shutdown timeouts on Camel contexts based on
ShutdownTimeout
. - 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
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
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
Breakpoint
for 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
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
CamelContext
s 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:
CamelSpringTestContextLoaderTestExecutionListener
StopWatchTestExecutionListener
Spring 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
T
- tearDown() - Method in class org.apache.camel.test.spring.junit5.CamelSpringTestSupport
- 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
Properties
for 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.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.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