org.mule.test.integration.exceptions
Class RollbackExceptionStrategyTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.tck.junit4.FunctionalTestCase
              extended by org.mule.tck.AbstractServiceAndFlowTestCase
                  extended by org.mule.test.integration.exceptions.RollbackExceptionStrategyTestCase

public class RollbackExceptionStrategyTestCase
extends AbstractServiceAndFlowTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
AbstractServiceAndFlowTestCase.ConfigVariant
 
Field Summary
 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
           
 
Fields inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
configResources, variant
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
RollbackExceptionStrategyTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
           
 
Method Summary
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 testRollbackWithComponent()
           
 
Methods inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
doSetUp, doSetUpForFlow, doSetUpForService, getConfigResources, getTestHeader
 
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doTearDown, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT

public static final int TIMEOUT
See Also:
Constant Field Values

JSON_REQUEST

public static final String JSON_REQUEST
See Also:
Constant Field Values

MAX_REDELIVERY

public static final int MAX_REDELIVERY
See Also:
Constant Field Values

EXPECTED_DELIVERED_TIMES

public static final int EXPECTED_DELIVERED_TIMES
See Also:
Constant Field Values

SHORT_MAX_REDELIVERY

public static final int SHORT_MAX_REDELIVERY
See Also:
Constant Field Values

EXPECTED_SHORT_DELIVERED_TIMES

public static final int EXPECTED_SHORT_DELIVERED_TIMES
See Also:
Constant Field Values

MESSAGE

public static final String MESSAGE
See Also:
Constant Field Values

MESSAGE_EXPECTED

public static final String MESSAGE_EXPECTED
See Also:
Constant Field Values

dynamicPort1

public DynamicPort dynamicPort1

dynamicPort2

public DynamicPort dynamicPort2
Constructor Detail

RollbackExceptionStrategyTestCase

public RollbackExceptionStrategyTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
                                         String configResources)
Method Detail

parameters

public static Collection<Object[]> parameters()

testAlwaysRollback

public void testAlwaysRollback()
                        throws Exception
Throws:
Exception

testAlwaysRollbackJmsNoTransaction

public void testAlwaysRollbackJmsNoTransaction()
                                        throws Exception
Throws:
Exception

testRedeliveryExhaustedTransactional

public void testRedeliveryExhaustedTransactional()
                                          throws Exception
Throws:
Exception

testRollbackWithComponent

public void testRollbackWithComponent()
                               throws Exception
Throws:
Exception

testFullyDefinedRollbackExceptionStrategyWithComponent

public void testFullyDefinedRollbackExceptionStrategyWithComponent()
                                                            throws Exception
Throws:
Exception

testRedeliveryExhaustedNoTransaction

public void testRedeliveryExhaustedNoTransaction()
                                          throws Exception
Throws:
Exception

testHttpAlwaysRollbackUsingMuleClient

public void testHttpAlwaysRollbackUsingMuleClient()
                                           throws Exception
Throws:
Exception

testHttpAlwaysRollbackUsingHttpClient

public void testHttpAlwaysRollbackUsingHttpClient()
                                           throws Exception
Throws:
Exception

testHttpRedeliveryExhaustedRollbackUsingMuleClient

public void testHttpRedeliveryExhaustedRollbackUsingMuleClient()
                                                        throws Exception
Throws:
Exception

testHttpRedeliveryExhaustedRollbackUsingHttpClient

public void testHttpRedeliveryExhaustedRollbackUsingHttpClient()
                                                        throws Exception
Throws:
Exception

testFullyDefinedRollbackExceptionStrategy

public void testFullyDefinedRollbackExceptionStrategy()
                                               throws Exception
Throws:
Exception

testRedeliveryPolicyRedefinition

public void testRedeliveryPolicyRedefinition()
                                      throws Exception
Throws:
Exception

testInboundEndpointMaxRedeliveryTakesPrecendence

public void testInboundEndpointMaxRedeliveryTakesPrecendence()
                                                      throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.