Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » systest » impl » [javadoc | source]
public class: AgentMessageListener [javadoc | source]

All Implemented Interfaces:

A simple consumer which is useful for testing which can be used to wait until the consumer has received a specific number of messages.
Method from org.apache.activemq.systest.impl.AgentMessageListener Summary:
flushMessages,   hasReceivedMessage,   hasReceivedMessages,   onMessage,   stop,   waitForMessageToArrive,   waitForMessagesToArrive
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.systest.impl.AgentMessageListener Detail:
 public List flushMessages() 
 protected boolean hasReceivedMessage() 
 protected boolean hasReceivedMessages(int messageCount) 
 public  void onMessage(Message message) 
 public  void stop() 
 public  void waitForMessageToArrive() 
 public  void waitForMessagesToArrive(int messageCount)