public class JmsSingleTransactionTransactionalElementTestCase extends AbstractJmsFunctionalTestCase
AbstractJmsFunctionalTestCase.AbstractScenario, AbstractJmsFunctionalTestCase.NonTransactedScenario, AbstractJmsFunctionalTestCase.Scenario, AbstractJmsFunctionalTestCase.ScenarioCommit, AbstractJmsFunctionalTestCase.ScenarioNotReceive, AbstractJmsFunctionalTestCase.ScenarioReceive, AbstractJmsFunctionalTestCase.ScenarioRollback
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 |
---|
JmsSingleTransactionTransactionalElementTestCase() |
Modifier and Type | Method and Description |
---|---|
protected String |
getConfigFile() |
void |
setUpTest() |
void |
testNestedTransactional() |
void |
testNestedTransactionalFail() |
void |
testNestedTransactionalFailWithCatch() |
void |
testNestedTransactionalWithBeginOrJoin() |
void |
testNestedTransactionalWithBeginOrJoinFail() |
void |
testNestedTransactionalWithBeginOrJoinFailWithCatch() |
void |
testNestedTransactionalWithBeginOrJoinFailWithCatchAndRollback() |
void |
testTransactional() |
void |
testTransactionalDoesntFailWithAnotherResourceType() |
void |
testTransactionalFailAfterEnd() |
void |
testTransactionalFailAtEnd() |
void |
testTransactionalFailAtEndWithCatchExceptionStrategy() |
void |
testTransactionalFailInTheMiddle() |
void |
testTransactionalFailInTheMiddleWithCatchExceptionStrategy() |
void |
testTransactionalFailsWithAnotherResourceType() |
void |
testTransactionalWithAnotherResourceTypeAndExceptionAtEnd() |
checkConfig, createInputDestination, createJmsConfig, createOutputDestination, dispatchMessage, dispatchMessage, dispatchMessage, doSetUp, 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 JmsSingleTransactionTransactionalElementTestCase()
protected String getConfigFile()
getConfigFile
in class FunctionalTestCase
public void setUpTest() throws JMSException
JMSException
public void testTransactionalFailInTheMiddle() throws Exception
Exception
public void testTransactionalFailAtEnd() throws Exception
Exception
public void testTransactionalFailAfterEnd() throws Exception
Exception
public void testTransactionalFailInTheMiddleWithCatchExceptionStrategy() throws Exception
Exception
public void testTransactionalFailAtEndWithCatchExceptionStrategy() throws Exception
Exception
public void testTransactionalFailsWithAnotherResourceType() throws Exception
Exception
public void testTransactionalDoesntFailWithAnotherResourceType() throws Exception
Exception
public void testTransactionalWithAnotherResourceTypeAndExceptionAtEnd() throws Exception
Exception
public void testNestedTransactionalFail() throws Exception
Exception
public void testNestedTransactionalFailWithCatch() throws Exception
Exception
public void testNestedTransactionalWithBeginOrJoin() throws Exception
Exception
public void testNestedTransactionalWithBeginOrJoinFail() throws Exception
Exception
public void testNestedTransactionalWithBeginOrJoinFailWithCatch() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.