You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/07/14 16:00:53 UTC

[jira] Resolved: (AMQ-1893) consumer stop consuming message when using selector,what's the problem?

     [ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-1893.
-----------------------------

    Fix Version/s: 5.4.0
                       (was: 5.2.0)
       Resolution: Fixed

Added the test to trunk: activemq-core/src/test/java/org/apache/activemq/bugs/AMQ1893Test.java
revision: 964051.

It works as expected, all 30000 messages are received. Can you validate a current 5.4-SNAPSHOT to be sure. Or review the test case or change is such that it shows a problem. 

> consumer stop consuming message when using selector,what's the problem?
> -----------------------------------------------------------------------
>
>                 Key: AMQ-1893
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1893
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 5.1.0
>         Environment: Windows XP SP2/SP3
>            Reporter: elvis feng
>            Assignee: Gary Tully
>            Priority: Critical
>             Fix For: 5.4.0
>
>         Attachments: PendingMessage1.png, PendingMessage2.png, Test.zip, TestConsumer.png, TestProducer.png
>
>
> 1. Start ActiveMQ 5.0 or 5.1 using the activemq.xml config file uploaded.
> 2. Run TestProducer
> 3. Open Browser : http://localhost:8165/admin,enter 'Queues' page,you can see now the 'Number of Pending Messages' of queue 'TEST' is 30000.
> 4. Run TestConsumer,
> 5. The Consumer will stop consuming messages, now you refresh the 'Queues' page, the 'Number of Pending Messages' is large than zero
> That's The problem, but why? Is the problem in my code or in ActiveMQ?

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