public class AmqBrowseCommand extends AbstractAmqCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
helpFile |
static java.lang.String |
QUEUE_PREFIX |
static java.lang.String |
TOPIC_PREFIX |
static java.lang.String |
VIEW_GROUP_BODY |
static java.lang.String |
VIEW_GROUP_CUSTOM |
static java.lang.String |
VIEW_GROUP_HEADER |
COMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
AmqBrowseCommand() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getOneLineDescription() |
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
|
closeAllConnections, createConnection, createConnection, getBrokerUrl, getConnectionFactory, getPassword, getPasswordFactory, getUsername, setBrokerUrl, setBrokerUrl, setFactory, setPassword, setPasswordFactory, setUsernameexecute, parseOptions, setCommandContextpublic static final java.lang.String QUEUE_PREFIX
public static final java.lang.String TOPIC_PREFIX
public static final java.lang.String VIEW_GROUP_HEADER
public static final java.lang.String VIEW_GROUP_CUSTOM
public static final java.lang.String VIEW_GROUP_BODY
protected java.lang.String[] helpFile
public java.lang.String getName()
public java.lang.String getOneLineDescription()
protected void runTask(java.util.List tokens)
throws java.lang.Exception
runTask in class AbstractCommandtokens - - command argumentsjava.lang.Exceptionprotected void handleOption(java.lang.String token,
java.util.List tokens)
throws java.lang.Exception
handleOption in class AbstractAmqCommandtoken - - option token to handletokens - - succeeding command argumentsjava.lang.Exceptionprotected void printHelp()
printHelp in class AbstractCommandCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.