org.apache.activemq
Interface MessageAvailableListener


public interface MessageAvailableListener

A listener which is notified if a message is available for processing via the receive methods. Typically on receiving this notification you can call MessageConsumer.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.

Version:
$Revision: 1.1 $

Method Summary
 void onMessageAvailable(javax.jms.MessageConsumer consumer)
           
 

Method Detail

onMessageAvailable

void onMessageAvailable(javax.jms.MessageConsumer consumer)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.