Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » broker » util » [javadoc | source]
org.apache.activemq.broker.util
public class: CommandMessageListener [javadoc | source]
java.lang.Object
   org.apache.activemq.broker.util.CommandMessageListener

All Implemented Interfaces:
    javax.jms.MessageListener

Constructor:
 public CommandMessageListener(Session session) 
Method from org.apache.activemq.broker.util.CommandMessageListener Summary:
addReplyHeaders,   getHandler,   getProducer,   getSession,   onMessage,   processCommand,   processCommandText
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.broker.util.CommandMessageListener Detail:
 protected  void addReplyHeaders(TextMessage request,
    Message response) throws JMSException 
 public CommandHandler getHandler() throws IllegalAccessException, IOException, InstantiationException, ClassNotFoundException 
 public MessageProducer getProducer() throws JMSException 
 public Session getSession() 
 public  void onMessage(Message message) 
 public Message processCommand(TextMessage request) throws Exception 
    Processes an incoming JMS message returning the response message
 public String processCommandText(String line) throws Exception 
    Processes an incoming command from a console and returning the text to output