public interface MessageConsumer
Modifier and Type | Method and Description |
---|---|
void |
close() |
MessageListener |
getMessageListener() |
java.lang.String |
getMessageSelector() |
Message |
receive() |
Message |
receive(long timeout) |
Message |
receiveNoWait() |
void |
setMessageListener(MessageListener listener) |
java.lang.String getMessageSelector() throws JMSException
JMSException
MessageListener getMessageListener() throws JMSException
JMSException
void setMessageListener(MessageListener listener) throws JMSException
JMSException
Message receive() throws JMSException
JMSException
Message receive(long timeout) throws JMSException
JMSException
Message receiveNoWait() throws JMSException
JMSException
void close() throws JMSException
JMSException