cms::MessageAvailableListener Class Reference

A listener interface similar to the MessageListener interface. More...

#include <src/main/cms/MessageAvailableListener.h>

Public Member Functions

virtual ~MessageAvailableListener ()
virtual void onMessageAvailable (cms::MessageConsumer *consumer)=0
 Indicates that a new Message has become available for consumption from the provided consumer, a call to receiveNoWait should return the message immediately.

Detailed Description

A listener interface similar to the MessageListener interface.

This listener is notified by its associated MessageConsumer that a new Message is available for processing when the consumer is in sync consumption mode. A consumer with a registered MessageListener will not use this listener.


Constructor & Destructor Documentation

virtual cms::MessageAvailableListener::~MessageAvailableListener (  )  [virtual]

Member Function Documentation

virtual void cms::MessageAvailableListener::onMessageAvailable ( cms::MessageConsumer consumer  )  [pure virtual]

Indicates that a new Message has become available for consumption from the provided consumer, a call to receiveNoWait should return the message immediately.

Parameters:
consumer The consumer that now has a message queued for consumption.

The documentation for this class was generated from the following file:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1