activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Urciolo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3436) Support Prioritization Of Messages Pending Dispatch
Date Wed, 03 Aug 2011 20:17:26 GMT
Support Prioritization Of Messages Pending Dispatch
---------------------------------------------------

                 Key: AMQ-3436
                 URL: https://issues.apache.org/jira/browse/AMQ-3436
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.5.0
            Reporter: Kevin Urciolo
            Priority: Minor


ActiveMQ does not deliver messages in priority order when the following conditions are true:

1.  A consumer has prefetch set to one (or zero).
2.  The consumer is created (consumerSession.createConsumer) prior to message delivery
3.  Large maxPageSize is configured

The fix is to modify org.apache.activemq.broker.region.Queue to use a PrioritizationPendingList
for the message in "pagedInPendingDispatch" so they are dispatched in priority order.

A test case reproducing the issue is included.
The patched file deltas are included.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message