[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1560) Client-side message prioritization support

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Fri Mar 27 12:07:22 EDT 2009


Client-side message prioritization support
------------------------------------------

                 Key: JBMESSAGING-1560
                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1560
             Project: JBoss Messaging
          Issue Type: Bug
            Reporter: Jeff Mesnil
            Assignee: Tim Fox
             Fix For: 2.0.0 Beta


in JBM2, message are sorted by priority on the server-side only (in QueueImpl)

However, this won't be enough in the case the consumer is receiving messages at the same time the producer sends them.
In that case, the messages goes through the server and to the client consumer buffer before being properly prioritized. (MessagePriorityTest.testMessagePriorityWithClientSidePrioritization() highlights this use case)

JBM 1.4 added client-side message prioritization to support that case.
We need to do the same for JBM2 by using a PriorityLinkedList for the ClientConsumer buffer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list