org.mule.test.integration.providers.jms
Class AbstractJmsFunctionalTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.test.integration.providers.jms.AbstractJmsFunctionalTestCase
- All Implemented Interfaces:
- Test, org.mule.tck.TestCaseWatchdogTimeoutHandler
- Direct Known Subclasses:
- AbstractJmsQueueFunctionalTestCase, AbstractJmsTransactionFunctionalTest
public abstract class AbstractJmsFunctionalTestCase
- extends org.mule.tck.AbstractMuleTestCase
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
org.mule.tck.AbstractMuleTestCase.TestInfo |
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
IGNORED_DOT_MULE_DIRS |
Methods inherited from class org.mule.tck.AbstractMuleTestCase |
createTestInfo, createWatchdog, disposeManager, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
DEFAULT_IN_QUEUE
public static final String DEFAULT_IN_QUEUE
- See Also:
- Constant Field Values
DEFAULT_OUT_QUEUE
public static final String DEFAULT_OUT_QUEUE
- See Also:
- Constant Field Values
DEFAULT_DL_QUEUE
public static final String DEFAULT_DL_QUEUE
- See Also:
- Constant Field Values
DEFAULT_IN_TOPIC
public static final String DEFAULT_IN_TOPIC
- See Also:
- Constant Field Values
DEFAULT_OUT_TOPIC
public static final String DEFAULT_OUT_TOPIC
- See Also:
- Constant Field Values
DEFAULT_DL_TOPIC
public static final String DEFAULT_DL_TOPIC
- See Also:
- Constant Field Values
DEFAULT_MESSAGE
public static final String DEFAULT_MESSAGE
- See Also:
- Constant Field Values
CONNECTOR_NAME
public static final String CONNECTOR_NAME
- See Also:
- Constant Field Values
LOCK_WAIT
public static final long LOCK_WAIT
- See Also:
- Constant Field Values
connector
protected org.mule.providers.jms.JmsConnector connector
callbackCalled
protected volatile boolean callbackCalled
cnn
protected Connection cnn
currentMsg
protected volatile Message currentMsg
eventCount
protected volatile int eventCount
model
protected org.mule.umo.model.UMOModel model
logger
protected final transient Log logger
AbstractJmsFunctionalTestCase
public AbstractJmsFunctionalTestCase()
doSetUp
protected void doSetUp()
throws Exception
- Overrides:
doSetUp
in class org.mule.tck.AbstractMuleTestCase
- Throws:
Exception
getSenderConnection
protected Connection getSenderConnection()
throws Exception
- Throws:
Exception
doTearDown
protected void doTearDown()
throws Exception
- Overrides:
doTearDown
in class org.mule.tck.AbstractMuleTestCase
- Throws:
Exception
drainDestinations
protected void drainDestinations()
throws Exception
- Throws:
Exception
getConnectionFactory
public abstract ConnectionFactory getConnectionFactory()
throws Exception
- Throws:
Exception
initialiseComponent
public void initialiseComponent(org.mule.tck.functional.EventCallback callback)
throws Exception
- Throws:
Exception
afterInitialise
public void afterInitialise()
throws Exception
- Throws:
Exception
getInDest
protected org.mule.umo.endpoint.UMOEndpointURI getInDest()
getOutDest
protected org.mule.umo.endpoint.UMOEndpointURI getOutDest()
send
protected void send(String payload,
boolean transacted,
int ack,
String replyTo)
throws JMSException
- Throws:
JMSException
receive
protected Message receive(String dest,
long timeout)
throws JMSException
- Throws:
JMSException
useTopics
public boolean useTopics()
createConnector
public abstract org.mule.providers.jms.JmsConnector createConnector()
throws Exception
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.