activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2799) option --msqgsel of AmqBrowseCommand/BrowseCommand class does not work
Date Fri, 25 Jun 2010 08:56:51 GMT
option --msqgsel of AmqBrowseCommand/BrowseCommand class does not work
----------------------------------------------------------------------

                 Key: AMQ-2799
                 URL: https://issues.apache.org/activemq/browse/AMQ-2799
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.1
         Environment: Windows XP, Version 5.3 of ActiveMQ + Version 5.4-SNAPSHOT
            Reporter: Charles Moulliard


Here are the requests tested and the result obtained :

Example of one of the 100 messages posted in the queue Q.NAGIOS.A

{code}
JMS_HEADER_FIELD:JMSTimestamp = Fri Jun 25 10:17:42 CEST 2010

JMS_HEADER_FIELD:JMSReplyTo = null
JMS_HEADER_FIELD:JMSDestination = queue://Q.NAGIOS.A
JMS_HEADER_FIELD:JMSCorrelationID = null
JMS_HEADER_FIELD:JMSDeliveryMode = NON-PERSISTENT
JMS_HEADER_FIELD:JMSType = null
JMS_HEADER_FIELD:JMSMessageID = ID:CHARLES_LAPTOP-1518-1277453859750-0:0:1:1:
JMS_HEADER_FIELD:JMSExpiration = 0
JMS_HEADER_FIELD:JMSPriority = 4
JMS_HEADER_FIELD:JMSRedelivered = false
JMS_BODY_FIELD:Text = Message: 399 sent at: Fri Jun 25 10:17:42 CEST 2010
{code}

1) Working
activemq-admin browse --amqurl tcp://localhost:61616  --msgsel JMSPriority=4  Q.NAGIOS.A (return
100 messages)

1) Not working
activemq-admin browse --amqurl tcp://localhost:61616  --msgsel JMSPriority>3  Q.NAGIOS.A
(return nothing)
activemq-admin browse --amqurl tcp://localhost:61616  --msgsel JMSMessageID='*:10'  Q.NAGIOS.A
(return all results - 100 messages)

CONCLUSION : Message selector does not work like described in the wiki page

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message