| org.jboss.test.jbossmq.MQBase
All known Subclasses: org.jboss.test.jbossmq.stress.ExceptionListenerTest, org.jboss.test.jbossmq.stress.MassiveTest, org.jboss.test.jbossmq.stress.MultipleDurableSubscribers, org.jboss.test.jbossmq.stress.QueueTest, org.jboss.test.jbossmq.stress.DurableSubscriberTest, org.jboss.test.jbossmq.test.SecurityUnitTestCase,
MQBase | public class MQBase extends JBossTestCase (Code) | | JMS tests base class.
Your test extends this class, and can then use common methods. To do
the tests you use TopicWorker or QueueWorker and the MessageCreator,
MessageFilter and perhaps MessageQos classes, directly or by extending
them.
You can change the connection factories and destinations used by the
properties: jbosstest.queuefactory, jbosstest.topicfactory,
jbosstest.queue or jbosstest.topic.
author: Peter Antman version: $Revision: 57211 $ |
Inner Class :abstract public class JMSWorker implements Runnable,MessageListener,ExceptionListener | |
Inner Class :public interface MessageCreator | |
Inner Class :abstract public class BaseMessageCreator implements MessageCreator | |
Inner Class :public class IntRangeMessageCreator extends BaseMessageCreator | |
Inner Class :public interface MessageFilter | |
Inner Class :public class IntRangeMessageFilter implements MessageFilter | |
Inner Class :public class QosConfig | |
Inner Class :public class TopicWorker extends JMSWorker | |
Inner Class :public class QueueWorker extends JMSWorker | |
CONNECTOR | final public static int CONNECTOR(Code) | | |
DEFAULT_RUNSLEEP | final public static int DEFAULT_RUNSLEEP(Code) | | |
FAILSAFE_SUBSCRIBER | final public static int FAILSAFE_SUBSCRIBER(Code) | | |
GETTER | final public static int GETTER(Code) | | |
PUBLISHER | final public static int PUBLISHER(Code) | | |
SUBSCRIBER | final public static int SUBSCRIBER(Code) | | |
TRANS_INDIVIDUAL | final public static int TRANS_INDIVIDUAL(Code) | | |
TRANS_NONE | final public static int TRANS_NONE(Code) | | |
TRANS_TOTAL | final public static int TRANS_TOTAL(Code) | | |
log | final public Category log(Code) | | |
queueFactory | public QueueConnectionFactory queueFactory(Code) | | |
topicFactory | public TopicConnectionFactory topicFactory(Code) | | |
drainQueue | public void drainQueue() throws JMSException(Code) | | |
drainTopic | public void drainTopic() throws JMSException(Code) | | |
getRunSleep | public long getRunSleep()(Code) | | |
setUp | protected void setUp() throws Exception(Code) | | The JUnit setup method
exception: Exception - Description of Exception |
sleep | public void sleep(long sleep)(Code) | | |
|
|