public class TransactionalErrorHandlingExecutionTemplateTestCase extends TransactionalExecutionTemplateTestCase
mockEvent, mockExternalTransactionFactory, mockMessagingException, mockMessagingExceptionHandler, mockMuleContext, mockNewTransaction, mockTransaction, RETURN_VALUE
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
TransactionalErrorHandlingExecutionTemplateTestCase() |
Modifier and Type | Method and Description |
---|---|
protected ExecutionTemplate |
createExecutionTemplate(TransactionConfig config) |
protected ExecutionCallback<MuleEvent> |
getFailureTransactionCallback() |
void |
setUp() |
void |
testActionAlwaysBeginAndSuspendXaTxAndFailureCallback() |
void |
testActionAlwaysJoinAndExternalTxAndFailureCallback() |
void |
testActionNoneAndXaTxAndFailureInCallback() |
void |
testInnerTransactionCreatedAndNotResolved() |
void |
testInnerTransactionCreatedAndResolved() |
void |
transactionCommitFailsCallsExceptionHandler() |
getEmptyTransactionCallback, getRollbackTransactionCallback, testActionAlwaysBeginAndCommitTxAndCommitNewTx, testActionAlwaysBeginAndNoTx, testActionAlwaysBeginAndRollbackTxAndCommitNewTx, testActionAlwaysBeginAndRollbackTxAndRollbackNewTx, testActionAlwaysBeginAndSuspendXaTxAndCommitNewTx, testActionAlwaysBeginAndSuspendXaTxAndRollbackNewTx, testActionAlwaysJoinAndNoTx, testActionAlwaysJoinAndTx, testActionBeginOrJoinAndNoTx, testActionBeginOrJoinAndTx, testActionIndifferentConfig, testActionJoinIfPossibleAndNoTx, testActionJoinIfPossibleAndTx, testActionNeverAndNoTx, testActionNeverAndTx, testActionNoneAndNoTx, testActionNoneAndTxForCommit, testActionNoneAndTxForRollback, testActionNoneAndWithExternalTransactionWithNoTx, testActionNoneAndWithExternalTransactionWithTx, testActionNoneAndXaTx, unbindTransaction
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public TransactionalErrorHandlingExecutionTemplateTestCase()
public void setUp() throws TransactionException
TransactionException
public void testActionNoneAndXaTxAndFailureInCallback() throws Exception
Exception
public void testActionAlwaysBeginAndSuspendXaTxAndFailureCallback() throws Exception
Exception
public void testActionAlwaysJoinAndExternalTxAndFailureCallback() throws Exception
Exception
public void testInnerTransactionCreatedAndResolved() throws Exception
Exception
public void testInnerTransactionCreatedAndNotResolved() throws Exception
Exception
public void transactionCommitFailsCallsExceptionHandler() throws Exception
Exception
protected ExecutionTemplate createExecutionTemplate(TransactionConfig config)
createExecutionTemplate
in class TransactionalExecutionTemplateTestCase
protected ExecutionCallback<MuleEvent> getFailureTransactionCallback() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.