public abstract class AbstractTransactionQueueManagerTestCase extends AbstractMuleContextTestCase
| Modifier and Type | Field and Description |
|---|---|
protected QueueTestComponent |
disposeTest |
protected org.slf4j.Logger |
logger
logger used by this class
|
static int |
THREAD_EXECUTION_TIMEOUT |
BLOCK_TIMEOUT, componentLocator, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, testServicesConfigurationBuilder, testServicesConfigurationBuilderSupplier, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectoryDEFAULT_TEST_TIMEOUT_SECS, globalTimeout, name, TEST_CONNECTOR, TEST_CONNECTOR_LOCATION, TEST_PAYLOAD, 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, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, doTestClassInjection, getAppleFlowComponentLocationAnnotations, getBuilder, getConfigurationResources, getEventBuilder, getExecutionClassLoader, getFileInsideWorkingDirectory, getFlowComponentLocationAnnotations, getObjectSerializer, getPayload, getPayload, getPayloadAsBytes, getPayloadAsString, getSensingNullMessageProcessor, getStartUpRegistryObjects, getTriggerableMessageSource, getWorkingDirectory, isDisposeContextPerClass, isGracefulShutdown, isStartContext, mockExprExecutorService, mockHttpService, process, recordSchedulersOnInit, setDisposeContextPerClass, setStartContext, setUpMuleContext, verifyAndStopSchedulersaddMockComponentLocation, clearRequestContext, clearTestCaseName, clearTestEvents, collectThreadNames, createTestTimeoutRule, dumpFilteredThreadsInTest, getMavenProjectVersionProperty, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isFailOnTimeout, isOffline, newEvent, nullPayloadEvent, takeTestCaseName, testEventpublic static final int THREAD_EXECUTION_TIMEOUT
protected transient org.slf4j.Logger logger
protected QueueTestComponent disposeTest
public AbstractTransactionQueueManagerTestCase()
protected abstract AbstractQueueManager createQueueManager() throws Exception
Exceptionprotected abstract boolean isPersistent()
public void testClearWithoutTransaction()
throws Exception
Exceptionpublic void testPutTakeUntakeRollbackUntake()
throws Exception
Exceptionpublic void testTransactedPutCommitWithPersistence()
throws Exception
Exceptionpublic void testTransactedPutRollbackWithPersistence()
throws Exception
Exceptionpublic void testPutTake_RespectsOrderOnPersistence()
throws Exception
Exceptionpublic void testTransactionsOnMultipleQueues()
throws Exception
Exceptionpublic void testDisposeQueueWithoutTransaction()
throws Exception
Exceptionpublic void testDisposeQueueInTransaction()
throws Exception
ExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.