mirror of https://github.com/apache/activemq.git
apply additional patch for: https://issues.apache.org/jira/browse/AMQ-3411 adding additional help info.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ce57a618e
commit
170a7b5bf5
|
@ -16,7 +16,6 @@
|
||||||
*/
|
*/
|
||||||
package org.apache.activemq.console.command;
|
package org.apache.activemq.console.command;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
|
@ -45,6 +45,11 @@ public class AmqBrowseCommand extends AbstractAmqCommand {
|
||||||
" --amqurl <url> Set the broker URL to connect to.",
|
" --amqurl <url> Set the broker URL to connect to.",
|
||||||
" --msgsel <msgsel1,msglsel2> Add to the search list messages matched by the query similar to",
|
" --msgsel <msgsel1,msglsel2> Add to the search list messages matched by the query similar to",
|
||||||
" the messages selector format.",
|
" the messages selector format.",
|
||||||
|
" --factory <className> Load className as the javax.jms.ConnectionFactory to use for creating connections.",
|
||||||
|
" --passwordFactory <className> Load className as the org.apache.activemq.console.command.PasswordFactory",
|
||||||
|
" for retrieving the password from a keystore.",
|
||||||
|
" --user <username> Username to use for JMS connections.",
|
||||||
|
" --password <password> Password to use for JMS connections.",
|
||||||
" -V<header|custom|body> Predefined view that allows you to view the message header, custom",
|
" -V<header|custom|body> Predefined view that allows you to view the message header, custom",
|
||||||
" message header, or the message body.",
|
" message header, or the message body.",
|
||||||
" --view <attr1>,<attr2>,... Select the specific attribute of the message to view.",
|
" --view <attr1>,<attr2>,... Select the specific attribute of the message to view.",
|
||||||
|
@ -67,6 +72,15 @@ public class AmqBrowseCommand extends AbstractAmqCommand {
|
||||||
" wildcard *:10, and has a JMSPriority field > 5 in the queue FOO.BAR",
|
" wildcard *:10, and has a JMSPriority field > 5 in the queue FOO.BAR",
|
||||||
" * To use wildcard queries, the field must be a string and the query enclosed in ''",
|
" * To use wildcard queries, the field must be a string and the query enclosed in ''",
|
||||||
"",
|
"",
|
||||||
|
" Main browse --amqurl tcp://localhost:61616 --user someUser --pass somePass FOO.BAR",
|
||||||
|
" - Print the message header, custom message header, and message body of all messages in the",
|
||||||
|
" queue FOO.BAR, using someUser as the user name, and somePass as the password",
|
||||||
|
"",
|
||||||
|
" Main browse --amqurl tcp://localhost:61616 --user someUser --pass somePass --factory org.apache.activemq.ActiveMQConnectionFactory --passwordFactory org.apache.activemq.AMQPasswordFactory FOO.BAR",
|
||||||
|
" - Print the message header, custom message header, and message body of all messages in the",
|
||||||
|
" queue FOO.BAR, using someUser as the user name, org.apache.activemq.AMQFactorySubClass to create JMS connections,",
|
||||||
|
" and org.apache.activemq.console.command.DefaultPasswordFactory to turn somePass into the password to be used.",
|
||||||
|
"",
|
||||||
};
|
};
|
||||||
|
|
||||||
private final List<String> queryAddObjects = new ArrayList<String>(10);
|
private final List<String> queryAddObjects = new ArrayList<String>(10);
|
||||||
|
|
Loading…
Reference in New Issue