org.jboss.test.jbossmq.stress
Class QueueTest

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.jbossmq.MQBase (src) 
              extended byorg.jboss.test.jbossmq.stress.QueueTest
Direct Known Subclasses:
QueueSubOne (src) , QueueSubTwo (src)

public class QueueTest
extends MQBase (src)

Test queue recover.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.test.jbossmq.MQBase (src)
MQBase.BaseMessageCreator (src) , MQBase.IntRangeMessageCreator (src) , MQBase.IntRangeMessageFilter (src) , MQBase.JMSWorker (src) , MQBase.MessageCreator (src) , MQBase.MessageFilter (src) , MQBase.QosConfig (src) , MQBase.QueueWorker (src) , MQBase.TopicWorker (src)
 
Field Summary
 
Fields inherited from class org.jboss.test.jbossmq.MQBase (src)
CONNECTOR, context, DEFAULT_RUNSLEEP, FAILSAFE_SUBSCRIBER, GETTER, log, PUBLISHER, QUEUE_FACTORY, queueFactory, SUBSCRIBER, TEST_QUEUE, TEST_TOPIC, TOPIC_FACTORY, topicFactory, TRANS_DESC, TRANS_INDIVIDUAL, TRANS_NONE, TRANS_TOTAL
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException
 
Constructor Summary
QueueTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void runQueueSubscriberPartOne()
          This test is done it two parts to be able to take down the server in between
 void runQueueSubscriberPartTwo()
          Part two of durable subscriber test, part one should be run before this is run.
static junit.framework.Test suite()
           
 void testQueueSubscriber()
          Test queue without taking the server down.
 
Methods inherited from class org.jboss.test.jbossmq.MQBase (src)
drainQueue, drainTopic, getRunSleep, setUp, sleep
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueTest

public QueueTest(java.lang.String name)
Method Detail

runQueueSubscriberPartOne

public void runQueueSubscriberPartOne()
                               throws java.lang.Exception
This test is done it two parts to be able to take down the server in between

Throws:
java.lang.Exception

runQueueSubscriberPartTwo

public void runQueueSubscriberPartTwo()
                               throws java.lang.Exception
Part two of durable subscriber test, part one should be run before this is run.

Throws:
java.lang.Exception

testQueueSubscriber

public void testQueueSubscriber()
                         throws java.lang.Exception
Test queue without taking the server down.

Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)