org.jboss.jms.client
Class JBossMessageConsumer

java.lang.Object
  extended byorg.jboss.jms.client.JBossMessageConsumer
All Implemented Interfaces:
java.io.Serializable

public class JBossMessageConsumer
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1766 $ $Id: JBossMessageConsumer.java 1766 2006-12-11 22:29:27Z ovidiu.feodorov@jboss.com $
Author:
Ovidiu Feodorov
See Also:
Serialized Form

Field Summary
protected  ConsumerDelegate delegate
           
 
Constructor Summary
JBossMessageConsumer(ConsumerDelegate delegate)
           
 
Method Summary
 void close()
           
 ConsumerDelegate getDelegate()
           
 MessageListener getMessageListener()
           
 java.lang.String getMessageSelector()
           
 boolean getNoLocal()
           
 Queue getQueue()
           
 Topic getTopic()
           
 Message receive()
           
 Message receive(long timeout)
           
 Message receiveNoWait()
           
 void setMessageListener(MessageListener listener)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegate

protected ConsumerDelegate delegate
Constructor Detail

JBossMessageConsumer

public JBossMessageConsumer(ConsumerDelegate delegate)
Method Detail

getMessageSelector

public java.lang.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

getQueue

public Queue getQueue()
               throws JMSException
Throws:
JMSException

getTopic

public Topic getTopic()
               throws JMSException
Throws:
JMSException

getNoLocal

public boolean getNoLocal()
                   throws JMSException
Throws:
JMSException

getDelegate

public ConsumerDelegate getDelegate()

toString

public java.lang.String toString()


Copyright © 2006 JBoss Inc. All Rights Reserved.