activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1006) RoundRobinDispatchPolicy divides uneven
Date Mon, 26 Feb 2007 18:25:03 GMT

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

james strachan updated AMQ-1006:
--------------------------------

    Fix Version/s:     (was: 4.1.2)
                   4.1.1

> RoundRobinDispatchPolicy divides uneven
> ---------------------------------------
>
>                 Key: AMQ-1006
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1006
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.0.2
>            Reporter: Holger Bruch
>            Priority: Minor
>             Fix For: 4.1.1, 4.3.0
>
>         Attachments: RoundRobinDispatchPolicyDivide.patch
>
>
> In case that multiple consumers with different message selectors are registered for the
same destination, messages are not evenly divided.
> To reproduce, register 2 consumers for prio 9, one for prio 4. Of 1000 messages with
prio 9 both prio 9 consumers should receive 500. Actually, the first consumer gets 667 messages,
the second 333.
> This is caused by the consumer shifting strategy in the RoundRobinDispatchPolicy which
rotates consumers, even if they did not match.
> The attached file contains a testcase illustrating the behavior and a patch for RoundRobinDispatchPolicy,
that shifts the first matching consumer instead of the first.

-- 
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