Hi Gary, 1. I've only got 4 messages in my queue at the moment. 2. Thanks for the tip on maxBrowsePageSize. What does maxBrowsePageSize actually mean? How would I get more messages from next "page". I've got a UI that the user can browse all the messages on the queue. They can then select a message to perform operations from. I'm using the standard Browser enumeration to move through the messages. Will it automatically page?
Thanks. Gary Tully wrote: > > I notice that there does not seem to be a test for this, some > combination of the selector test[1] and browser test[2] is needed to > validate this. > Is there a sparse distribution of messages matching your selector. Any > chance that more than 400 message that do not match the selector are > in the queue? If this is the case you will need to increase the > maxBrowserPageSize for the queue to ensure that a message matching the > selector is in memory for dispatch. You would do this with a > PolicyEntry[3] > > [1] > http://activemq.apache.org/maven/5.3-SNAPSHOT/activemq-core/testapidocs/org/apache/activemq/JmsQueueSelectorTest.html > [2] > http://activemq.apache.org/maven/5.3-SNAPSHOT/activemq-core/testapidocs/org/apache/activemq/JmsQueueBrowserTest.html > [3] http://activemq.apache.org/per-destination-policies.html > > 2009/1/16 IBeaumont <ibeaum...@categoric.com>: >> >> ActiveMQ 5.2 >> >> Has anyone used a QueueBrowser with selectors? I know my message >> properties >> are set correctly as they are displayed in the tooltip in the ActiveMQ >> web >> administrator when I browse the queue. >> >> However they don't return any messages when I try to query the items on >> the >> queue from code. If I use one of the system properites in my selector >> though, such as JMSRedelivered, then this does return the expected >> results. >> >> This same code works against SwiftMQ and MQSeries. >> >> TIA >> Ian >> -- >> View this message in context: >> http://www.nabble.com/Selectors-and-QueueBrowser-tp21496625p21496625.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > > -- > http://blog.garytully.com > > Open Source SOA > http://FUSESource.com > > -- View this message in context: http://www.nabble.com/Selectors-and-QueueBrowser-tp21496625p21500828.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.