Repository: activemq Updated Branches: refs/heads/master 80f46a805 -> e6fa73532
AMQ-5796: Incorrect Task Usage mentioned for amq browse command. Thanks to Jay SenSharma for the patch. This fixes #104. Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/e6fa7353 Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/e6fa7353 Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/e6fa7353 Branch: refs/heads/master Commit: e6fa7353252e57f4e573bcd3d00b82b76c2fe0be Parents: 80f46a8 Author: Claus Ibsen <[email protected]> Authored: Tue Nov 29 17:42:27 2016 +0100 Committer: Claus Ibsen <[email protected]> Committed: Tue Nov 29 17:42:27 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/activemq/console/command/AmqBrowseCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/e6fa7353/activemq-console/src/main/java/org/apache/activemq/console/command/AmqBrowseCommand.java ---------------------------------------------------------------------- diff --git a/activemq-console/src/main/java/org/apache/activemq/console/command/AmqBrowseCommand.java b/activemq-console/src/main/java/org/apache/activemq/console/command/AmqBrowseCommand.java index dec1701..80f45f5 100644 --- a/activemq-console/src/main/java/org/apache/activemq/console/command/AmqBrowseCommand.java +++ b/activemq-console/src/main/java/org/apache/activemq/console/command/AmqBrowseCommand.java @@ -69,7 +69,7 @@ public class AmqBrowseCommand extends AbstractAmqCommand { " Main browse --amqurl tcp://localhost:61616 -Vheader --view custom:MyField queue:FOO.BAR", " - Print the message header and the custom field 'MyField' of all messages in the queue FOO.BAR", "", - " Main browse --amqurl tcp://localhost:61616 --msgsel JMSMessageID='*:10',JMSPriority>5 FOO.BAR", + " Main browse --amqurl tcp://localhost:61616 --msgsel \"JMSMessageID='*:10',JMSPriority>5\" FOO.BAR", " - Print all the message fields that has a JMSMessageID in the header field that matches the", " 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 ''",
