activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Hopper (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2082) Message Groups fail to preserve exclusivity when a new consumer is added.
Date Tue, 20 Jan 2009 20:33:59 GMT
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.


Mime
View raw message