org.exolab.jms.client
Class JmsQueueReceiver

java.lang.Object
  |
  +--org.exolab.jms.client.JmsMessageConsumer
        |
        +--org.exolab.jms.client.JmsQueueReceiver
All Implemented Interfaces:
javax.jms.MessageConsumer, javax.jms.MessageListener, javax.jms.QueueReceiver

public class JmsQueueReceiver
extends JmsMessageConsumer
implements javax.jms.QueueReceiver

A client uses a JmsQueueReceiver to receive messages

Version:
$Revision: 1.10 $ $Date: 2003/01/23 04:32:19 $
Author:
Jim Alateras
See Also:
QueueReceiver, JmsMessageConsumer

Fields inherited from class org.exolab.jms.client.JmsMessageConsumer
_session
 
Method Summary
 void close()
           
 void destroy()
          Release all resources used by this consumer
 JmsDestination getJmsDestination()
          This is an anstratc message that returns a reference to the destination
 javax.jms.Queue getQueue()
           
 
Methods inherited from class org.exolab.jms.client.JmsMessageConsumer
getClientId, getConsumerId, getLastMessageDelivered, getMessageListener, getMessageSelector, isClosed, onMessage, receive, receive, receiveNoWait, retrieveMessage, 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
getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 

Method Detail

getQueue

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

getJmsDestination

public JmsDestination getJmsDestination()
Description copied from class: JmsMessageConsumer
This is an anstratc message that returns a reference to the destination
Overrides:
getJmsDestination in class JmsMessageConsumer
Following copied from class: org.exolab.jms.client.JmsMessageConsumer
Returns:
JmsDestination

close

public void close()
           throws javax.jms.JMSException
Specified by:
close in interface javax.jms.MessageConsumer
Overrides:
close in class JmsMessageConsumer

destroy

public void destroy()
             throws javax.jms.JMSException
Description copied from class: JmsMessageConsumer
Release all resources used by this consumer
Overrides:
destroy in class JmsMessageConsumer
Following copied from class: org.exolab.jms.client.JmsMessageConsumer
Throws:
javax.jms.JMSException -  


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.