public class RollbackExceptionStrategyTestCase extends AbstractServiceAndFlowTestCase
Modifier and Type | Class and Description |
---|---|
static class |
RollbackExceptionStrategyTestCase.CallMessageProcessor |
AbstractServiceAndFlowTestCase.ConfigVariant
Modifier and Type | Field and Description |
---|---|
DynamicPort |
dynamicPort1 |
DynamicPort |
dynamicPort2 |
static int |
EXPECTED_DELIVERED_TIMES |
static int |
EXPECTED_SHORT_DELIVERED_TIMES |
static String |
JSON_REQUEST |
static int |
MAX_REDELIVERY |
static String |
MESSAGE |
static String |
MESSAGE_EXPECTED |
static int |
SHORT_MAX_REDELIVERY |
static int |
TIMEOUT |
configResources, variant
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 |
---|
RollbackExceptionStrategyTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
String configResources) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
parameters() |
void |
testAlwaysRollback() |
void |
testAlwaysRollbackJmsNoTransaction() |
void |
testFullyDefinedRollbackExceptionStrategy() |
void |
testFullyDefinedRollbackExceptionStrategyWithComponent() |
void |
testHttpAlwaysRollbackUsingHttpClient() |
void |
testHttpAlwaysRollbackUsingMuleClient() |
void |
testHttpRedeliveryExhaustedRollbackUsingHttpClient() |
void |
testHttpRedeliveryExhaustedRollbackUsingMuleClient() |
void |
testInboundEndpointMaxRedeliveryTakesPrecendence() |
void |
testRedeliveryExhaustedNoTransaction() |
void |
testRedeliveryExhaustedTransactional() |
void |
testRedeliveryPolicyRedefinition() |
void |
testRollbackExceptionStrategyCatchMessageRedeliveryDespiteChoiceConfiguration() |
void |
testRollbackWithComponent() |
doSetUp, doSetUpForFlow, doSetUpForService, getConfigFile, getConfigFiles, getTestHeader
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, 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, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static final int TIMEOUT
public static final String JSON_REQUEST
public static final int MAX_REDELIVERY
public static final int EXPECTED_DELIVERED_TIMES
public static final int SHORT_MAX_REDELIVERY
public static final int EXPECTED_SHORT_DELIVERED_TIMES
public static final String MESSAGE
public static final String MESSAGE_EXPECTED
public DynamicPort dynamicPort1
public DynamicPort dynamicPort2
public RollbackExceptionStrategyTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
public static Collection<Object[]> parameters()
public void testAlwaysRollbackJmsNoTransaction() throws Exception
Exception
public void testRedeliveryExhaustedTransactional() throws Exception
Exception
public void testRollbackWithComponent() throws Exception
Exception
public void testFullyDefinedRollbackExceptionStrategyWithComponent() throws Exception
Exception
public void testRedeliveryExhaustedNoTransaction() throws Exception
Exception
public void testHttpAlwaysRollbackUsingMuleClient() throws Exception
Exception
public void testHttpAlwaysRollbackUsingHttpClient() throws Exception
Exception
public void testHttpRedeliveryExhaustedRollbackUsingMuleClient() throws Exception
Exception
public void testHttpRedeliveryExhaustedRollbackUsingHttpClient() throws Exception
Exception
public void testFullyDefinedRollbackExceptionStrategy() throws Exception
Exception
public void testRedeliveryPolicyRedefinition() throws Exception
Exception
public void testInboundEndpointMaxRedeliveryTakesPrecendence() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.