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, setUsernameexecute, parseOptions, printHelpFromFile, setCommandContextpublic 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 AbstractCommandtokens - - command argumentsExceptionprotected void handleOption(String token, List tokens) throws Exception
handleOption in class AbstractAmqCommandtoken - - option token to handletokens - - succeeding command argumentsExceptionprotected void printHelp()
printHelp in class AbstractCommandCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.