站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.jboss.resource.adapter.jms.JmsMessageConsumer
      extended byorg.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

Constructor Summary
JmsQueueReceiver(javax.jms.QueueReceiver consumer, JmsSession session)
          Create a new wrapper
 
Method Summary
 javax.jms.Queue getQueue()
           
 
Methods inherited from class org.jboss.resource.adapter.jms.JmsMessageConsumer
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

JmsQueueReceiver

public JmsQueueReceiver(javax.jms.QueueReceiver consumer,
                        JmsSession session)
Create a new wrapper

Parameters:
consumer - the queue receiver
session - the session
Method Detail

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.