org.activemq
Class JmsTopicSendReceiveWithTwoConnectionsTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.activemq.TestSupport
org.activemq.JmsSendReceiveTestSupport
org.activemq.JmsTopicSendReceiveWithTwoConnectionsTest
- All Implemented Interfaces:
- javax.jms.MessageListener, junit.framework.Test
- public class JmsTopicSendReceiveWithTwoConnectionsTest
- extends JmsSendReceiveTestSupport
- Version:
- $Revision: 1.1.1.1 $
| Fields inherited from class org.activemq.JmsSendReceiveTestSupport |
consumer, consumerDestination, data, deliveryMode, durable, lock, messageCount, messages, producer, producerDestination, session, topic, verbose |
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
sendConnection
protected javax.jms.Connection sendConnection
receiveConnection
protected javax.jms.Connection receiveConnection
receiveSession
protected javax.jms.Session receiveSession
JmsTopicSendReceiveWithTwoConnectionsTest
public JmsTopicSendReceiveWithTwoConnectionsTest()
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.
- Overrides:
setUp in class JmsSendReceiveTestSupport
createReceiveConnection
protected javax.jms.Connection createReceiveConnection()
throws java.lang.Exception
createSendConnection
protected javax.jms.Connection createSendConnection()
throws java.lang.Exception
createConnectionFactory
protected ActiveMQConnectionFactory createConnectionFactory()
throws java.lang.Exception
- Overrides:
createConnectionFactory in class TestSupport
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.