org.mule.execution
Class TransactionalErrorHandlingExecutionTemplateTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.execution.TransactionalExecutionTemplateTestCase
          extended by org.mule.execution.TransactionalErrorHandlingExecutionTemplateTestCase

public class TransactionalErrorHandlingExecutionTemplateTestCase
extends TransactionalExecutionTemplateTestCase


Field Summary
 
Fields inherited from class org.mule.execution.TransactionalExecutionTemplateTestCase
mockEvent, mockExternalTransactionFactory, mockMessagingException, mockMessagingExceptionHandler, mockMuleContext, mockNewTransaction, mockTransaction, RETURN_VALUE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
TransactionalErrorHandlingExecutionTemplateTestCase()
           
 
Method Summary
protected  ExecutionTemplate createExecutionTemplate(MuleTransactionConfig config)
           
protected  ExecutionCallback<MuleEvent> getFailureTransactionCallback()
           
 void testActionAlwaysBeginAndSuspendXaTxAndFailureCallback()
           
 void testActionAlwaysJoinAndExternalTxAndFailureCallback()
           
 void testActionNoneAndXaTxAndFailureInCallback()
           
 void testInnerTransactionCreatedAndNotResolved()
           
 void testInnerTransactionCreatedAndResolved()
           
 
Methods inherited from class org.mule.execution.TransactionalExecutionTemplateTestCase
getEmptyTransactionCallback, getRollbackTransactionCallback, testActionAlwaysBeginAndCommitTxAndCommitNewTx, testActionAlwaysBeginAndNoTx, testActionAlwaysBeginAndRollbackTxAndCommitNewTx, testActionAlwaysBeginAndRollbackTxAndRollbackNewTx, testActionAlwaysBeginAndSuspendXaTxAndCommitNewTx, testActionAlwaysBeginAndSuspendXaTxAndRollbackNewTx, testActionAlwaysJoinAndNoTx, testActionAlwaysJoinAndTx, testActionBeginOrJoinAndNoTx, testActionBeginOrJoinAndTx, testActionIndifferentConfig, testActionJoinIfPossibleAndNoTx, testActionJoinIfPossibleAndTx, testActionNeverAndNoTx, testActionNeverAndTx, testActionNoneAndNoTx, testActionNoneAndTxForCommit, testActionNoneAndTxForRollback, testActionNoneAndWithExternalTransactionWithNoTx, testActionNoneAndWithExternalTransactionWithTx, testActionNoneAndXaTx, unbindTransaction
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, 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
 

Constructor Detail

TransactionalErrorHandlingExecutionTemplateTestCase

public TransactionalErrorHandlingExecutionTemplateTestCase()
Method Detail

testActionNoneAndXaTxAndFailureInCallback

public void testActionNoneAndXaTxAndFailureInCallback()
                                               throws Exception
Throws:
Exception

testActionAlwaysBeginAndSuspendXaTxAndFailureCallback

public void testActionAlwaysBeginAndSuspendXaTxAndFailureCallback()
                                                           throws Exception
Throws:
Exception

testActionAlwaysJoinAndExternalTxAndFailureCallback

public void testActionAlwaysJoinAndExternalTxAndFailureCallback()
                                                         throws Exception
Throws:
Exception

testInnerTransactionCreatedAndResolved

public void testInnerTransactionCreatedAndResolved()
                                            throws Exception
Throws:
Exception

testInnerTransactionCreatedAndNotResolved

public void testInnerTransactionCreatedAndNotResolved()
                                               throws Exception
Throws:
Exception

createExecutionTemplate

protected ExecutionTemplate createExecutionTemplate(MuleTransactionConfig config)
Overrides:
createExecutionTemplate in class TransactionalExecutionTemplateTestCase

getFailureTransactionCallback

protected ExecutionCallback<MuleEvent> getFailureTransactionCallback()
                                                              throws Exception
Throws:
Exception


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