Package org.apache.activemq
Interface MessageAvailableListener
-
public interface MessageAvailableListenerA listener which is notified if a message is available for processing via the receive methods. Typically on receiving this notification you can callMessageConsumer.receiveNoWait()to get the new message immediately. Note that this notification just indicates a message is available for synchronous consumption, it does not actually consume the message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMessageAvailable(javax.jms.MessageConsumer consumer)
-