Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » systest » impl » [javadoc | source]
org.apache.activemq.systest.impl
public class: ConsumerAgentImpl [javadoc | source]
java.lang.Object
   org.apache.activemq.systest.AgentSupport
      org.apache.activemq.systest.impl.JmsClientSupport
         org.apache.activemq.systest.impl.ConsumerAgentImpl

All Implemented Interfaces:
    ConsumerAgent, ClientAgent, Agent

A simple in JVM implementation of a ConsumerAgent
Method from org.apache.activemq.systest.impl.ConsumerAgentImpl Summary:
assertConsumed,   createConsumer,   getConsumer,   getDurableSubscriber,   getSelector,   isNoLocal,   setConsumer,   setDurableSubscriber,   setNoLocal,   setSelector,   start,   stop,   waitUntilConsumed
Methods from org.apache.activemq.systest.impl.JmsClientSupport:
connectTo,   createConnection,   createSession,   getAcknowledgementMode,   getConnection,   getConnectionFactory,   getDestination,   getSession,   isTransacted,   setAcknowledgementMode,   setConnectionFactory,   setDestination,   setTransacted,   start,   stop
Methods from org.apache.activemq.systest.AgentSupport:
stop,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.systest.impl.ConsumerAgentImpl Detail:
 public  void assertConsumed(MessageList messageList) throws JMSException 
 protected MessageConsumer createConsumer() throws JMSException 
 public MessageConsumer getConsumer() throws JMSException 
 public String getDurableSubscriber() 
 public String getSelector() 
 public boolean isNoLocal() 
 public  void setConsumer(MessageConsumer consumer) 
 public  void setDurableSubscriber(String durableSubscriber) 
 public  void setNoLocal(boolean noLocal) 
 public  void setSelector(String selector) 
 public  void start() throws Exception 
 public  void stop(AgentStopper stopper) 
 public  void waitUntilConsumed(MessageList messageList,
    int percentOfList)