public abstract class AbstractTransactionQueueManagerTestCase extends AbstractMuleContextTestCase
Modifier and Type | Field and Description |
---|---|
protected QueueTestComponent |
disposeTest |
protected Log |
logger
logger used by this class
|
static int |
THREAD_EXECUTION_TIMEOUT |
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, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
AbstractTransactionQueueManagerTestCase() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractQueueManager |
createQueueManager() |
protected abstract boolean |
isPersistent() |
void |
testClearInTransaction() |
void |
testClearWithoutTransaction() |
void |
testDisposeQueueByNameInTransaction() |
void |
testDisposeQueueInTransaction() |
void |
testDisposeQueueWithoutTransaction() |
void |
testOffer() |
void |
testPeek() |
void |
testPoll() |
void |
testPutTake_RespectsOrderOnPersistence() |
void |
testPutTake() |
void |
testPutTakeUntake() |
void |
testPutTakeUntakeRollbackUntake() |
void |
testPutWithPersistence() |
void |
testRecoverColdRestart() |
void |
testRecoverWarmRestart() |
void |
testTakePut() |
void |
testTakePutOverCapacity() |
void |
testTakePutRollbackPut() |
void |
testTransactedPutCommitWithPersistence() |
void |
testTransactedPutRollbackWithPersistence() |
void |
testTransactionsOnMultipleQueues() |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getStartUpProperties, 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 static final int THREAD_EXECUTION_TIMEOUT
protected transient Log logger
protected QueueTestComponent disposeTest
public AbstractTransactionQueueManagerTestCase()
protected abstract AbstractQueueManager createQueueManager() throws Exception
Exception
protected abstract boolean isPersistent()
public void testClearWithoutTransaction() throws Exception
Exception
public void testPutTakeUntakeRollbackUntake() throws Exception
Exception
public void testTransactedPutCommitWithPersistence() throws Exception
Exception
public void testTransactedPutRollbackWithPersistence() throws Exception
Exception
public void testPutTake_RespectsOrderOnPersistence() throws Exception
Exception
public void testTransactionsOnMultipleQueues() throws Exception
Exception
public void testDisposeQueueWithoutTransaction() throws Exception
Exception
public void testDisposeQueueInTransaction() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.