public interface MessageAvailableConsumer extends MessageConsumer
Modifier and Type | Method and Description |
---|---|
MessageAvailableListener |
getAvailableListener()
Gets the listener used to notify synchronous consumers that there is a message
available so that the
MessageConsumer.receiveNoWait() can be called. |
void |
setAvailableListener(MessageAvailableListener availableListener)
Sets the listener used to notify synchronous consumers that there is a message
available so that the
MessageConsumer.receiveNoWait() can be called. |
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
void setAvailableListener(MessageAvailableListener availableListener)
MessageConsumer.receiveNoWait()
can be called.MessageAvailableListener getAvailableListener()
MessageConsumer.receiveNoWait()
can be called.Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.