public class JmsExceptionStrategyTestCase extends AbstractJmsFunctionalTestCase
AbstractJmsFunctionalTestCase.AbstractScenario, AbstractJmsFunctionalTestCase.NonTransactedScenario, AbstractJmsFunctionalTestCase.Scenario, AbstractJmsFunctionalTestCase.ScenarioCommit, AbstractJmsFunctionalTestCase.ScenarioNotReceive, AbstractJmsFunctionalTestCase.ScenarioReceive, AbstractJmsFunctionalTestCase.ScenarioRollback
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE |
static int |
SHORT_TIMEOUT |
static int |
TIMEOUT |
BROADCAST_TOPIC_ENDPOINT_KEY, DEFAULT_INPUT_MESSAGE, DEFAULT_OUTPUT_MESSAGE, INBOUND_ENDPOINT_KEY, jmsConfig, log, MIDDLE_ENDPOINT_KEY, MIDDLE2_ENDPOINT_KEY, MIDDLE3_ENDPOINT_KEY, OUTBOUND_ENDPOINT_KEY, purgeQueuesOnPreSetUp, purgeQueuesOnTearDown, scenarioCommit, scenarioNotReceive, scenarioNoTx, scenarioReceive, scenarioRollback
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
JmsExceptionStrategyTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSetUp()
Enables the adding of extra behavior on the set up stage of a test right
after the creation of the mule context in
AbstractMuleContextTestCase.setUpMuleContext() . |
protected String |
getConfigFile() |
void |
testDefaultStrategyConfigured() |
void |
testFlowConfiguredForDeadLetterQueue() |
void |
testFlowConfiguredForDeadLetterQueueTx() |
void |
testInExceptionDoRollbackJmsNoTx() |
void |
testInExceptionDoRollbackJmsTx() |
void |
testSendExceptionNofication() |
checkConfig, createInputDestination, createJmsConfig, createOutputDestination, dispatchMessage, dispatchMessage, dispatchMessage, doTearDown, getBuilder, getClient, getConnection, getDeadLetterQueueName, getInboundEndpoint, getInboundQueueName, getJmsConfig, getOutboundEndpoint, getOutboundQueueName, getSmallTimeout, getStartUpProperties, getTimeout, isMultipleProviders, jmsProviderConfigs, purge, purgeTopic, purgeTopics, receive, receiveMessage, receiveMessage, receiveMessage, runAsynchronousDispatching, send, setJmsConfig, setMultipleProviders
clearFlowAssertions, getComponent, getComponent, getConfigFiles, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowNonBlocking, runFlowNonBlocking, runFlowNonBlocking, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow, testFlowNonBlocking, testFlowNonBlocking
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static final String MESSAGE
public static final int TIMEOUT
public static final int SHORT_TIMEOUT
protected String getConfigFile()
getConfigFile
in class FunctionalTestCase
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractJmsFunctionalTestCase
Exception
- if something fails that should halt the test casepublic void testInExceptionDoRollbackJmsTx() throws Exception
Exception
public void testInExceptionDoRollbackJmsNoTx() throws Exception
Exception
public void testDefaultStrategyConfigured() throws Exception
Exception
public void testSendExceptionNofication() throws Exception
Exception
public void testFlowConfiguredForDeadLetterQueue() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.