java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.activemq.TestSupport
org.activemq.test.JmsXATransactionTestSupport
- All Implemented Interfaces:
- junit.framework.Test
- public abstract class JmsXATransactionTestSupport
- extends org.activemq.TestSupport
- Version:
- $Revision: 1.1.1.1 $
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.activemq.TestSupport |
assertTextMessagesEqual, createConnection, createConnectionFactory, createDestination, createMessage, getConnectionFactory, getConsumerSubject, getProducerSubject, getSubject, recursiveDelete, removeMessageStore |
| 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 |
firstRun
static boolean firstRun
connectionFactory
protected javax.jms.ConnectionFactory connectionFactory
connection
protected javax.jms.Connection connection
session
protected javax.jms.Session session
consumer
protected javax.jms.MessageConsumer consumer
producer
protected javax.jms.MessageProducer producer
provider
private JmsResourceProvider provider
producer2
private javax.jms.MessageProducer producer2
destination
private javax.jms.Destination destination
JmsXATransactionTestSupport
public JmsXATransactionTestSupport()
JmsXATransactionTestSupport
public JmsXATransactionTestSupport(java.lang.String name)
testSendOutsideXATransaction
public void testSendOutsideXATransaction()
throws java.lang.Exception
testSendRollback
public void testSendRollback()
throws java.lang.Exception
testSendPrepareRecoverRollback
public void testSendPrepareRecoverRollback()
throws java.lang.Exception
testXAWith2Sessions
public void testXAWith2Sessions()
throws java.lang.Exception
getJmsResourceProvider
protected abstract JmsResourceProvider getJmsResourceProvider()
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
restart
protected void restart()
throws javax.jms.JMSException
openConnection
protected void openConnection()
throws javax.jms.JMSException
tearDown
protected void tearDown()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
closeConnection
private void closeConnection()
throws javax.jms.JMSException