public abstract class ExchangeTestSupport extends CamelTestSupport
CamelContext and a populated Exchange| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.Exchange |
exchange |
camelContextService, camelTestSupportExtension, consumer, context, extra, fluentTemplate, ROUTE_COVERAGE_ENABLED, template| Constructor and Description |
|---|
ExchangeTestSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Exchange |
createExchange()
A factory method to create an Exchange implementation
|
protected void |
populateExchange(org.apache.camel.Exchange exchange)
A strategy method to populate an exchange with some example values for use by language plugins
|
void |
setUp() |
afterAll, afterTestExecution, applyCamelPostProcessor, assertExpression, assertMockEndpointsSatisfied, assertMockEndpointsSatisfied, assertPredicate, assertResolveLanguage, assertValidContext, beforeAll, beforeEach, beforeTestExecution, bindToRegistry, camelContextService, cleanupResources, consumer, context, createCamelContext, createCamelRegistry, createExchangeWithBody, createRouteBuilder, createRouteBuilders, debugAfter, debugBefore, disableJMX, doPostSetup, doPostTearDown, doPreSetup, doSpringBootCheck, enableJMX, fluentTemplate, getCamelContextService, getCurrentTestName, getMandatoryEndpoint, getMandatoryEndpoint, getMockEndpoint, getMockEndpoint, getRouteFilterExcludePattern, getRouteFilterIncludePattern, getShutdownTimeout, hasClassAnnotation, ignoreMissingLocationWithPropertiesComponent, isCreateCamelContextPerClass, isDumpRouteCoverage, isMockEndpoints, isMockEndpointsAndSkip, isUseAdviceWith, isUseDebugger, isUseRouteBuilder, postProcessTest, replaceRouteFromWith, resetMocks, resolveMandatoryEndpoint, resolveMandatoryEndpoint, sendBodies, sendBody, sendBody, setCamelContextService, setupResources, setUseRouteBuilder, startCamelContext, stopCamelContext, tearDown, template, timeTaken, useJmx, useOverridePropertiesWithPropertiesComponentprotected org.apache.camel.Exchange createExchange()
protected void populateExchange(org.apache.camel.Exchange exchange)
@BeforeEach
public void setUp()
throws Exception
setUp in class CamelTestSupportExceptionApache Camel