com.mockrunner.mock.jms
Class MockTemporaryQueue

java.lang.Object
  extended by com.mockrunner.mock.jms.MockDestination
      extended by com.mockrunner.mock.jms.MockQueue
          extended by com.mockrunner.mock.jms.MockTemporaryQueue
All Implemented Interfaces:
java.io.Serializable, javax.jms.Destination, javax.jms.Queue, javax.jms.TemporaryQueue

public class MockTemporaryQueue
extends MockQueue
implements javax.jms.TemporaryQueue

Mock implementation of JMS TemporaryQueue.

See Also:
Serialized Form

Constructor Summary
MockTemporaryQueue()
           
 
Method Summary
 void delete()
           
 boolean isDeleted()
          Returns if this temporary queue is deleted.
 
Methods inherited from class com.mockrunner.mock.jms.MockQueue
addMessage, getQueueName
 
Methods inherited from class com.mockrunner.mock.jms.MockDestination
acknowledgeMessage, addCurrentMessage, addReceivedMessage, addSession, clear, getCurrentMessageList, getMatchingMessage, getMessage, getReceivedMessageList, isEmpty, loadMessage, removeSession, reset, sessionSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue
getQueueName, toString
 

Constructor Detail

MockTemporaryQueue

public MockTemporaryQueue()
Method Detail

isDeleted

public boolean isDeleted()
Returns if this temporary queue is deleted.

Returns:
true if this queue is deleted

delete

public void delete()
            throws javax.jms.JMSException
Specified by:
delete in interface javax.jms.TemporaryQueue
Throws:
javax.jms.JMSException