You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "elvis feng (JIRA)" <ji...@apache.org> on 2008/08/18 17:45:52 UTC
[jira] Created: (AMQ-1893) consumer stop consuming message when
using selector,what's the 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.1.0, 5.0.0
Environment: Windows XP SP2/SP3
Reporter: elvis feng
Priority: Critical
Attachments: Test.zip
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.
[jira] Updated: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elvis feng updated AMQ-1893:
----------------------------
Attachment: PendingMessage2.png
Number of Pending Messages after running TestConsumer
> 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
> Priority: Critical
> 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.
[jira] Updated: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elvis feng updated AMQ-1893:
----------------------------
Attachment: (was: TestProducer.png)
> 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
> Priority: Critical
> 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.
[jira] Updated: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elvis feng updated AMQ-1893:
----------------------------
Attachment: TestConsumer.png
Run TestConsumer Console
> 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
> Priority: Critical
> Attachments: PendingMessage1.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.
[jira] Updated: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elvis feng updated AMQ-1893:
----------------------------
Attachment: PendingMessage1.png
Number of Pending Message after running TestProducer
> 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
> Priority: Critical
> Attachments: PendingMessage1.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.
[jira] Assigned: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies reassigned AMQ-1893:
-------------------------------
Assignee: Gary Tully (was: Rob Davies)
> 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.2.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.
[jira] Reopened: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "SuoNayi Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SuoNayi Wang reopened AMQ-1893:
-------------------------------
Regression: [Regression]
I'm sure Rob Davies may make a mistake.
5.2 does not fix this bug indeed.
> 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: Rob Davies
> Priority: Critical
> Fix For: 5.2.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.
[jira] Commented: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "Rob Janney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46169#action_46169 ]
Rob Janney commented on AMQ-1893:
---------------------------------
Can you describe what was fixed?
I am seeing a similar issue in 5.1, but I am not sure if it would be addressed by whatever change was made for 5.2
> 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: Rob Davies
> Priority: Critical
> Fix For: 5.3.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.
[jira] Resolved: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies resolved AMQ-1893.
-----------------------------
Fix Version/s: 5.3.0
Resolution: Fixed
Resolved in 5.2
> 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: Rob Davies
> Priority: Critical
> Fix For: 5.3.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.
[jira] Resolved: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Davies reassigned AMQ-1893:
-------------------------------
Assignee: Rob Davies
> 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: Rob Davies
> Priority: Critical
> Fix For: 5.3.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.
[jira] Updated: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elvis feng updated AMQ-1893:
----------------------------
Attachment: TestProducer.png
Run TestProducer Console
> 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
> Priority: Critical
> Attachments: PendingMessage1.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.
[jira] Commented: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45037#action_45037 ]
elvis feng commented on AMQ-1893:
---------------------------------
ActiveMQ 4.1.2 is OK
> 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
> Priority: Critical
> 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.
[jira] Updated: (AMQ-1893) consumer stop consuming message when
using selector,what's the problem?
Posted by "elvis feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elvis feng updated AMQ-1893:
----------------------------
Attachment: TestProducer.png
Run TestProducer Console
> 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
> Priority: Critical
> 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.