org.mockejb.jms
Class QueueReceiverImpl

java.lang.Object
  extended byorg.mockejb.jms.MockConsumer
      extended byorg.mockejb.jms.QueueReceiverImpl
All Implemented Interfaces:
javax.jms.MessageConsumer, javax.jms.QueueReceiver

public class QueueReceiverImpl
extends MockConsumer
implements javax.jms.QueueReceiver

Author:
Dimitar Gospodinov

Constructor Summary
QueueReceiverImpl(org.mockejb.jms.MockSession sess, MockQueue queue)
           
 
Method Summary
 javax.jms.Queue getQueue()
           
 
Methods inherited from class org.mockejb.jms.MockConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 

Constructor Detail

QueueReceiverImpl

public QueueReceiverImpl(org.mockejb.jms.MockSession sess,
                         MockQueue queue)
Parameters:
queue -
Method Detail

getQueue

public javax.jms.Queue getQueue()
                         throws javax.jms.JMSException
Specified by:
getQueue in interface javax.jms.QueueReceiver
Throws:
javax.jms.JMSException
See Also:
QueueReceiver.getQueue()