[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-1570) Why does QueueImpl::changeMessagePriority delete the ref?

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Wed Apr 29 06:57:46 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMESSAGING-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil updated JBMESSAGING-1570:
-------------------------------------

    Fix Version/s: 2.0.0.CR1
                       (was: 2.0.0 Beta)


there is an issue here.

The priority is set on the message which can be shared by multiple queues (through message references).
We can not reprioritize only the message reference for a given queue, the message itself must be set with the new priority since it'll be prioritized on the client-side too when it is delivered.
However, setting the new priority on the message will  not change its position in the priority linked list of all the *other* queues which references the message.

> Why does QueueImpl::changeMessagePriority delete the ref?
> ---------------------------------------------------------
>
>                 Key: JBMESSAGING-1570
>                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1570
>             Project: JBoss Messaging
>          Issue Type: Bug
>            Reporter: Tim Fox
>            Assignee: Jeff Mesnil
>             Fix For: 2.0.0.CR1
>
>
> QueueImpl::changeMessagePriority seems to delete the old ref from storage then only add the new one in memory!

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