当前页面:
在线文档首页 >
JBoss 3.2.7 j2ee API Documentation 英文版文档
MessageConsumer (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档
javax.jms
Interface MessageConsumer
- All Known Subinterfaces:
- QueueReceiver, TopicSubscriber
- public interface MessageConsumer
- Version:
- $Revision: 1.1 $
- Author:
- Chris Kimpton (chris@kimptoc.net)
getMessageSelector
public String getMessageSelector()
throws JMSException
- Throws:
JMSException
getMessageListener
public MessageListener getMessageListener()
throws JMSException
- Throws:
JMSException
setMessageListener
public void setMessageListener(MessageListener listener)
throws JMSException
- Throws:
JMSException
receive
public Message receive()
throws JMSException
- Throws:
JMSException
receive
public Message receive(long timeout)
throws JMSException
- Throws:
JMSException
receiveNoWait
public Message receiveNoWait()
throws JMSException
- Throws:
JMSException
close
public void close()
throws JMSException
- Throws:
JMSException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.