org.apache.activemq.console.command
Class AmqBrowseCommand
java.lang.Object
org.apache.activemq.console.command.AbstractCommand
org.apache.activemq.console.command.AbstractAmqCommand
org.apache.activemq.console.command.AmqBrowseCommand
- All Implemented Interfaces:
- Command
public class AmqBrowseCommand
- extends AbstractAmqCommand
Method Summary |
protected void |
handleOption(java.lang.String token,
java.util.List tokens)
Handle the --msgsel, --xmsgsel, --view, -V options. |
protected void |
printHelp()
Print the help messages for the browse command |
protected void |
runTask(java.util.List tokens)
Execute the browse command, which allows you to browse the messages in a given JMS destination |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUEUE_PREFIX
public static final java.lang.String QUEUE_PREFIX
- See Also:
- Constant Field Values
TOPIC_PREFIX
public static final java.lang.String TOPIC_PREFIX
- See Also:
- Constant Field Values
VIEW_GROUP_HEADER
public static final java.lang.String VIEW_GROUP_HEADER
- See Also:
- Constant Field Values
VIEW_GROUP_CUSTOM
public static final java.lang.String VIEW_GROUP_CUSTOM
- See Also:
- Constant Field Values
VIEW_GROUP_BODY
public static final java.lang.String VIEW_GROUP_BODY
- See Also:
- Constant Field Values
helpFile
protected java.lang.String[] helpFile
AmqBrowseCommand
public AmqBrowseCommand()
runTask
protected void runTask(java.util.List tokens)
throws java.lang.Exception
- Execute the browse command, which allows you to browse the messages in a given JMS destination
- Specified by:
runTask
in class AbstractCommand
- Parameters:
tokens
- - command arguments
- Throws:
java.lang.Exception
handleOption
protected void handleOption(java.lang.String token,
java.util.List tokens)
throws java.lang.Exception
- Handle the --msgsel, --xmsgsel, --view, -V options.
- Overrides:
handleOption
in class AbstractAmqCommand
- Parameters:
token
- - option token to handletokens
- - succeeding command arguments
- Throws:
java.lang.Exception
printHelp
protected void printHelp()
- Print the help messages for the browse command
- Specified by:
printHelp
in class AbstractCommand
Copyright © 2010 Apache Software Foundation. All Rights Reserved.