org.mule.transport.jms.reliability
Class AbstractJmsReliabilityTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.tck.junit4.FunctionalTestCase
org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase
org.mule.transport.jms.reliability.AbstractJmsReliabilityTestCase
- Direct Known Subclasses:
- InboundMessageLossTestCase, JmsAcknowledgementTestCase
public abstract class AbstractJmsReliabilityTestCase
- extends AbstractJmsFunctionalTestCase
Fields inherited from class org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase |
BROADCAST_TOPIC_ENDPOINT_KEY, DEFAULT_INPUT_MESSAGE, DEFAULT_OUTPUT_MESSAGE, INBOUND_ENDPOINT_KEY, jmsConfig, logger, MIDDLE_ENDPOINT_KEY, MIDDLE2_ENDPOINT_KEY, MIDDLE3_ENDPOINT_KEY, OUTBOUND_ENDPOINT_KEY, purgeQueuesOnPreSetUp, purgeQueuesOnTearDown, scenarioCommit, scenarioNotReceive, scenarioNoTx, scenarioReceive, scenarioRollback |
Methods inherited from class org.mule.transport.jms.integration.AbstractJmsFunctionalTestCase |
checkConfig, createInputDestination, createJmsConfig, createOutputDestination, dispatchMessage, dispatchMessage, dispatchMessage, doSetUp, getBuilder, getClient, getConnection, getDeadLetterQueueName, getInboundEndpoint, getInboundQueueName, getJmsConfig, getOutboundEndpoint, getOutboundQueueName, getSmallTimeout, getStartUpProperties, getTimeout, isMultipleProviders, jmsProviderConfigs, purge, purgeTopic, purgeTopics, receive, receiveMessage, receiveMessage, receiveMessage, runAsynchronousDispatching, send, setJmsConfig, setMultipleProviders |
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase |
clearFlowAssertions, getComponent, getComponent, getConfigResources, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow |
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, getConfigurationResources, getSensingNullMessageProcessor, 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, 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 |
acknowledgeMode
protected int acknowledgeMode
deliveryMode
protected int deliveryMode
connection
protected Connection connection
session
protected Session session
consumer
protected MessageConsumer consumer
AbstractJmsReliabilityTestCase
public AbstractJmsReliabilityTestCase()
doTearDown
protected void doTearDown()
throws Exception
- Description copied from class:
AbstractMuleContextTestCase
- Enables the adding of extra behavior on the tear down stage of a test
before the mule context is disposed in
AbstractMuleContextTestCase.disposeContextPerTest()
.
Under normal circumstances this method could be replace with a
@After
annotated method.
- Overrides:
doTearDown
in class AbstractJmsFunctionalTestCase
- Throws:
Exception
- if something fails that should halt the testcase
closeConsumer
protected void closeConsumer()
throws Exception
- Throws:
Exception
putMessageOnQueue
protected void putMessageOnQueue(String queueName)
throws Exception
- Throws:
Exception
readMessageFromQueue
protected Message readMessageFromQueue(String queueName)
throws Exception
- Throws:
Exception
listenOnQueue
protected void listenOnQueue(String queueName,
MessageListener listener)
throws Exception
- Throws:
Exception
createConsumer
protected void createConsumer(String queueName)
throws Exception
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.