当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
JmsQueueReceiver (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.jms
Class JmsQueueReceiver
java.lang.Object
org.jboss.resource.adapter.jms.JmsMessageConsumer
org.jboss.resource.adapter.jms.JmsQueueReceiver
- All Implemented Interfaces:
- javax.jms.MessageConsumer, javax.jms.QueueReceiver
- public class JmsQueueReceiver
- extends JmsMessageConsumer
- implements javax.jms.QueueReceiver
A wrapper for a queue receiver
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
Method Summary |
javax.jms.Queue |
getQueue()
|
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 |
JmsQueueReceiver
public JmsQueueReceiver(javax.jms.QueueReceiver consumer,
JmsSession session)
- Create a new wrapper
- Parameters:
consumer
- the queue receiversession
- the session
getQueue
public javax.jms.Queue getQueue()
throws javax.jms.JMSException
- Specified by:
getQueue
in interface javax.jms.QueueReceiver
- Throws:
javax.jms.JMSException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.