You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gordon Hopper (JIRA)" <ji...@apache.org> on 2009/01/20 21:33:59 UTC
[jira] Updated: (AMQ-2082) Message Groups fail to preserve
exclusivity when a new consumer is added.
[ https://issues.apache.org/activemq/browse/AMQ-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Hopper updated AMQ-2082:
-------------------------------
Attachment: MessageGroupNewConsumerTest.java
> Message Groups fail to preserve exclusivity when a new consumer is added.
> -------------------------------------------------------------------------
>
> Key: AMQ-2082
> URL: https://issues.apache.org/activemq/browse/AMQ-2082
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.2.0
> Environment: Cent5; Java 6u11; ActiveMQ 5.2;
> Reporter: Gordon Hopper
> Attachments: MessageGroupNewConsumerTest.java
>
>
> If a new consumer is added to a running system, the exclusive property of a message group can be temporarily violated.
> Uploading a new unit test. An excerpt of the test results is below, which shows that the message groups GrA and GrB are being handled by both consumers simultaneously.
> 15:11:58,498 INFO GroupNewConsumerTest - Con2 got message GrA-5
> 15:11:58,560 INFO GroupNewConsumerTest - Con2 got message GrB-5
> 15:11:58,560 INFO GroupNewConsumerTest - Con1 got message GrB-3
> 15:11:58,623 INFO GroupNewConsumerTest - Con1 got message GrA-4
> 15:11:58,623 INFO GroupNewConsumerTest - Con2 got message GrA-6
> 15:11:58,685 INFO GroupNewConsumerTest - Con1 got message GrB-4
> 15:11:58,685 INFO GroupNewConsumerTest - Con2 got message GrB-6
> 15:11:58,748 INFO GroupNewConsumerTest - Con1 got message GrB-7
> 15:11:58,748 INFO GroupNewConsumerTest - Con2 got message GrA-7
> 15:11:58,810 INFO GroupNewConsumerTest - Con1 got message GrB-8
> 15:11:58,810 INFO GroupNewConsumerTest - Con2 got message GrA-8
> 15:11:58,873 INFO GroupNewConsumerTest - Con2 got message GrA-9
> 15:11:58,935 INFO GroupNewConsumerTest - Con2 got message GrB-9
> This may be the same issue described in:
> http://www.nabble.com/Message-groups-not-working-when-consuming-existing-messages-td18445237.html#a18445237
> Note that setting the prefetch to 1 made reproducing the issue much easier. (See the unit test)
> keywords: JMSXGroup JMSXGroupID JMSXGroupSeq
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.