public class AmqBrowseCommand extends AbstractAmqCommand
Modifier and Type | Field and Description |
---|---|
protected String[] |
helpFile |
static String |
QUEUE_PREFIX |
static String |
TOPIC_PREFIX |
static String |
VIEW_GROUP_BODY |
static String |
VIEW_GROUP_CUSTOM |
static String |
VIEW_GROUP_HEADER |
COMMAND_OPTION_DELIMETER, context
Constructor and Description |
---|
AmqBrowseCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getOneLineDescription() |
protected void |
handleOption(String token,
List tokens)
Handle the --msgsel, --xmsgsel, --view, -V options.
|
protected void |
printHelp()
Print the help messages for the browse command
|
protected void |
runTask(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, setUsername
execute, parseOptions, printHelpFromFile, setCommandContext
public static final String QUEUE_PREFIX
public static final String TOPIC_PREFIX
public static final String VIEW_GROUP_HEADER
public static final String VIEW_GROUP_CUSTOM
public static final String VIEW_GROUP_BODY
public AmqBrowseCommand()
public String getOneLineDescription()
protected void runTask(List tokens) throws Exception
runTask
in class AbstractCommand
tokens
- - command argumentsException
protected void handleOption(String token, List tokens) throws Exception
handleOption
in class AbstractAmqCommand
token
- - option token to handletokens
- - succeeding command argumentsException
protected void printHelp()
printHelp
in class AbstractCommand
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.