A B C D E G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- activeProfiles() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
-
Which active profiles should be used.
- afterTestClass(TestContext) - Method in class org.apache.camel.test.spring.DisableJmxTestExecutionListener
- afterTestMethod(TestContext) - Method in class org.apache.camel.test.spring.CamelSpringBootExecutionListener
- afterTestMethod(TestContext) - Method in class org.apache.camel.test.spring.StopWatchTestExecutionListener
- applicationContext - Variable in class org.apache.camel.test.spring.CamelSpringTestSupport
B
- beforeTestMethod(TestContext) - Method in class org.apache.camel.test.spring.CamelSpringBootExecutionListener
- beforeTestMethod(TestContext) - Method in class org.apache.camel.test.spring.StopWatchTestExecutionListener
C
- CamelAnnotationsHandler - Class in org.apache.camel.test.spring
- CamelSpringBootExecutionListener - Class in org.apache.camel.test.spring
- CamelSpringBootExecutionListener() - Constructor for class org.apache.camel.test.spring.CamelSpringBootExecutionListener
- CamelSpringBootJUnit4ClassRunner - Class in org.apache.camel.test.spring
-
Deprecated.
- CamelSpringBootJUnit4ClassRunner(Class<?>) - Constructor for class org.apache.camel.test.spring.CamelSpringBootJUnit4ClassRunner
-
Deprecated.
- CamelSpringBootRunner - Class in org.apache.camel.test.spring
-
An implementation bringing the functionality of
CamelSpringTestSupport
to Spring Boot Test based test cases. - CamelSpringBootRunner(Class<?>) - Constructor for class org.apache.camel.test.spring.CamelSpringBootRunner
- CamelSpringBootRunner.CamelTestContextManager - Class in org.apache.camel.test.spring
-
An implementation providing additional integration between Spring Test and Camel testing features.
- CamelSpringDelegatingTestContextLoader - Class in org.apache.camel.test.spring
-
Deprecated.use
CamelSpringRunner
orCamelSpringBootRunner
instead. - CamelSpringDelegatingTestContextLoader() - Constructor for class org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader
-
Deprecated.
- CamelSpringJUnit4ClassRunner - Class in org.apache.camel.test.spring
-
Deprecated.
- CamelSpringJUnit4ClassRunner(Class<?>) - Constructor for class org.apache.camel.test.spring.CamelSpringJUnit4ClassRunner
-
Deprecated.
- CamelSpringRunner - Class in org.apache.camel.test.spring
-
An implementation bringing the functionality of
CamelSpringTestSupport
to Spring Test based test cases. - CamelSpringRunner(Class<?>) - Constructor for class org.apache.camel.test.spring.CamelSpringRunner
- CamelSpringRunner.CamelTestContextManager - Class in org.apache.camel.test.spring
-
An implementation providing additional integration between Spring Test and Camel testing features.
- CamelSpringTestContextLoader - Class in org.apache.camel.test.spring
-
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.CamelSpringTestContextLoader
- CamelSpringTestContextLoaderTestExecutionListener - Class in org.apache.camel.test.spring
-
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.CamelSpringTestContextLoaderTestExecutionListener
- CamelSpringTestHelper - Class in org.apache.camel.test.spring
-
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
- CamelSpringTestSupport - Class in org.apache.camel.test.spring
-
Base test-class for classic Spring application such as standalone, web applications.
- CamelSpringTestSupport() - Constructor for class org.apache.camel.test.spring.CamelSpringTestSupport
- CamelTestContextBootstrapper - Class in org.apache.camel.test.spring
-
To bootstrap Camel for testing with Spring 4.1 onwards.
- CamelTestContextBootstrapper() - Constructor for class org.apache.camel.test.spring.CamelTestContextBootstrapper
- CamelTestContextManager(Class<?>) - Constructor for class org.apache.camel.test.spring.CamelSpringBootRunner.CamelTestContextManager
- CamelTestContextManager(Class<?>) - Constructor for class org.apache.camel.test.spring.CamelSpringRunner.CamelTestContextManager
- cleanup(Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader
-
Deprecated.Cleanup/restore global state to defaults / pre-test values after the test setup is complete.
- cleanup(Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Cleanup/restore global state to defaults / pre-test values after the test setup is complete.
- createApplicationContext() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
- createCamelContext() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
- createContext(Class<?>, MergedContextConfiguration) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Creates and starts the Spring context while optionally starting any loaded Camel contexts.
- createTestContextManager(Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringBootRunner
-
Returns the specialized manager instance that provides tight integration between Camel testing features and Spring.
- createTestContextManager(Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringRunner
-
Returns the specialized manager instance that provides tight integration between Camel testing features and Spring.
D
- DisableJmx - Annotation Type in org.apache.camel.test.spring
-
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. - DisableJmxTestExecutionListener - Class in org.apache.camel.test.spring
-
Provides reset to pre-test state behavior for global enable/disable of JMX support in Camel through the use of
DisableJmx
. - DisableJmxTestExecutionListener() - Constructor for class org.apache.camel.test.spring.DisableJmxTestExecutionListener
- doPostTearDown() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
- doPreSetup() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
- doToSpringCamelContexts(ApplicationContext, CamelSpringTestHelper.DoToSpringCamelContextsStrategy) - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
-
Executes
strategy
against allSpringCamelContext
s found in the Spring context. - dumpRouteCoverage(CamelContext, String, String) - Static method in class org.apache.camel.test.spring.RouteCoverageDumper
E
- EnableRouteCoverage - Annotation Type in org.apache.camel.test.spring
-
Enables dumping route coverage statistic.
- excludeRoute() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
-
Template method used to exclude a
Route
from the test camel context - excludeRoutes() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
-
Template method used to exclude
Route
from the test time context route scanning - ExcludeRoutes - Annotation Type in org.apache.camel.test.spring
-
Indicates if certain route builder classes should be excluded from discovery.
- execute(String, SpringCamelContext) - Method in interface org.apache.camel.test.spring.CamelSpringTestHelper.DoToSpringCamelContextsStrategy
G
- getAllMethods(Class<?>) - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
-
Returns all methods defined in
clazz
and its superclasses/interfaces. - getDefaultContextLoaderClass(Class<?>) - Method in class org.apache.camel.test.spring.CamelTestContextBootstrapper
- getMandatoryBean(Class<T>, String) - Method in class org.apache.camel.test.spring.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.CamelSpringTestContextLoaderTestExecutionListener
-
The default implementation returns
Ordered.LOWEST_PRECEDENCE
, thereby ensuring that custom listeners are ordered after default listeners supplied by the framework. - getOriginalJmxDisabled() - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
- getResourceSuffix() - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Returns "
-context.xml
". - getRouteExcludingApplicationContext() - Method in class org.apache.camel.test.spring.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.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.CamelSpringDelegatingTestContextLoader
-
Deprecated.Returns the class under test in order to enable inspection of annotations while the Spring context is being created.
- getTestClass() - Method in class org.apache.camel.test.spring.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.CamelSpringTestHelper
- getTestMethod() - Method in class org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader
-
Deprecated.Returns the test method under test.
- getTestMethod() - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Returns the test method under test.
- getTestMethod() - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
H
- handleCamelContextStartup(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles starting of Camel contexts based on
UseAdviceWith
and other state in the JVM. - handleCamelContextStartup(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Handles starting of Camel contexts based on
UseAdviceWith
and other state in the JVM. - handleDisableJmx(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles disabling of JMX on Camel contexts based on
DisableJmx
. - handleDisableJmx(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Handles disabling of JMX on Camel contexts based on
DisableJmx
. - handleExcludeRoutesForSpringBoot(Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles @ExcludeRoutes to make it easier to exclude other routes when testing with Spring Boot.
- handleMockEndpoints(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles auto-intercepting of endpoints with mocks based on
MockEndpoints
. - handleMockEndpoints(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Handles auto-intercepting of endpoints with mocks based on
MockEndpoints
. - handleMockEndpointsAndSkip(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles auto-intercepting of endpoints with mocks based on
MockEndpointsAndSkip
and skipping the original endpoint. - handleMockEndpointsAndSkip(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
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.CamelAnnotationsHandler
- handleProvidesBreakpoint(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Handles the processing of the
ProvidesBreakpoint
annotation on a test class. - handleRouteCoverage(ConfigurableApplicationContext, Class<?>, Function) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles disabling of JMX on Camel contexts based on
DisableJmx
. - handleRouteCoverageDump(ConfigurableApplicationContext, Class<?>, Function) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
- handleShutdownTimeout(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles updating shutdown timeouts on Camel contexts based on
ShutdownTimeout
. - handleShutdownTimeout(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Handles updating shutdown timeouts on Camel contexts based on
ShutdownTimeout
. - handleUseOverridePropertiesWithPropertiesComponent(ConfigurableApplicationContext, Class<?>) - Static method in class org.apache.camel.test.spring.CamelAnnotationsHandler
-
Handles override this method to include and override properties with the Camel
PropertiesComponent
. - handleUseOverridePropertiesWithPropertiesComponent(ConfigurableApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Sets property overrides for the Camel
PropertiesComponent
.
I
- isEnabled(CamelEvent) - Method in class org.apache.camel.test.spring.RouteCoverageEventNotifier
L
- loadBeanDefinitions(GenericApplicationContext, String...) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
- loadBeanDefinitions(GenericApplicationContext, MergedContextConfiguration) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
- loadContext(String...) - Method in class org.apache.camel.test.spring.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(ConfigurableApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader
-
Deprecated.Performs the bulk of the Spring application context loading/customization.
- loadContext(GenericApplicationContext, Class<?>) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoader
-
Performs the bulk of the Spring application context loading/customization.
- loadContext(MergedContextConfiguration) - Method in class org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader
-
Deprecated.
- loadContext(MergedContextConfiguration) - Method in class org.apache.camel.test.spring.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.CamelSpringTestSupport
- logger - Variable in class org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader
-
Deprecated.
M
- MockEndpoints - Annotation Type in org.apache.camel.test.spring
-
Triggers the auto-mocking of endpoints whose URIs match the provided filter.
- MockEndpointsAndSkip - Annotation Type in org.apache.camel.test.spring
-
Triggers the auto-mocking of endpoints whose URIs match the provided filter with the added provision that the endpoints are also skipped.
N
- notify(CamelEvent) - Method in class org.apache.camel.test.spring.RouteCoverageEventNotifier
O
- org.apache.camel.test.spring - package org.apache.camel.test.spring
P
- postProcessTest() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
- prepareTestInstance(TestContext) - Method in class org.apache.camel.test.spring.CamelSpringBootExecutionListener
- prepareTestInstance(TestContext) - Method in class org.apache.camel.test.spring.CamelSpringTestContextLoaderTestExecutionListener
- ProvidesBreakpoint - Annotation Type in org.apache.camel.test.spring
-
Indicates that the annotated method returns a
Breakpoint
for use in the test.
R
- RouteCoverageDumper - Class in org.apache.camel.test.spring
-
Helper to dump route coverage when using
EnableRouteCoverage
. - RouteCoverageEventNotifier - Class in org.apache.camel.test.spring
- RouteCoverageEventNotifier(String, Function) - Constructor for class org.apache.camel.test.spring.RouteCoverageEventNotifier
S
- setOriginalJmxDisabledValue(String) - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
- setTestClass(Class<?>) - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
- setTestContext(TestContext) - Static method in class org.apache.camel.test.spring.CamelSpringTestHelper
- ShutdownTimeout - Annotation Type in org.apache.camel.test.spring
-
Indicates to set the shutdown timeout of all
CamelContext
s instantiated through the use of Spring Test loaded application contexts. - StopWatchTestExecutionListener - Class in org.apache.camel.test.spring
-
An execution listener that simulates the timing output built in to
CamelTestSupport
. - StopWatchTestExecutionListener() - Constructor for class org.apache.camel.test.spring.StopWatchTestExecutionListener
T
- tearDown() - Method in class org.apache.camel.test.spring.CamelSpringTestSupport
- threadAppContext - Static variable in class org.apache.camel.test.spring.CamelSpringTestSupport
- threadApplicationContext - Static variable in class org.apache.camel.test.spring.CamelSpringBootExecutionListener
- threadStopWatch - Static variable in class org.apache.camel.test.spring.StopWatchTestExecutionListener
- timeUnit() - Method in annotation type org.apache.camel.test.spring.ShutdownTimeout
-
The time unit that
ShutdownTimeout.value()
is in.
U
- UseAdviceWith - Annotation Type in org.apache.camel.test.spring
-
Indicates the use of
adviceWith()
within the test class. - UseOverridePropertiesWithPropertiesComponent - Annotation Type in org.apache.camel.test.spring
-
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() - Method in annotation type org.apache.camel.test.spring.DisableJmx
-
Whether the test annotated with this annotation should be run with JMX disabled in Camel.
- value() - Method in annotation type org.apache.camel.test.spring.ExcludeRoutes
-
The classes to exclude from resolution when using package scanning.
- value() - Method in annotation type org.apache.camel.test.spring.MockEndpoints
-
The pattern to use for matching endpoints to enable mocking on.
- value() - Method in annotation type org.apache.camel.test.spring.MockEndpointsAndSkip
-
The pattern to use for matching endpoints to enable mocking on.
- value() - Method in annotation type org.apache.camel.test.spring.ShutdownTimeout
-
The shutdown timeout to set on the
CamelContext
(s). - value() - Method in annotation type org.apache.camel.test.spring.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 All Packages