org.apache.activemq.console
Class ConsoleCommandHandler

java.lang.Object
  extended by org.apache.activemq.console.ConsoleCommandHandler
All Implemented Interfaces:
CommandHandler

public class ConsoleCommandHandler
extends java.lang.Object
implements CommandHandler

A default implementation of the @{link CommandHandler} interface


Constructor Summary
ConsoleCommandHandler()
           
 
Method Summary
 void processCommand(javax.jms.TextMessage request, javax.jms.TextMessage response)
           
protected  java.util.List<java.lang.String> tokenize(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleCommandHandler

public ConsoleCommandHandler()
Method Detail

processCommand

public void processCommand(javax.jms.TextMessage request,
                           javax.jms.TextMessage response)
                    throws java.lang.Exception
Specified by:
processCommand in interface CommandHandler
Throws:
java.lang.Exception

tokenize

protected java.util.List<java.lang.String> tokenize(java.lang.String text)


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.