You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2010/08/11 19:41:47 UTC

[jira] Resolved: (AMQ-2866) In SimplePriorityMessageDispatchChannel, message priority isn't properly constrained between 0 and 9

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

Timothy Bish resolved AMQ-2866.
-------------------------------

    Fix Version/s: 5.4.1
       Resolution: Fixed

Good catch, patch applied in trunk.

> In SimplePriorityMessageDispatchChannel, message priority isn't properly constrained between 0 and 9
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2866
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2866
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0
>            Reporter: Edward Dale
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 5.4.1
>
>         Attachments: SimplePriorityMessageDispatchChannel.getPriority.patch
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> Per the JMS docs, message priority should be between 0 and 9 inclusive. SimplePriorityMessageDispatchChannel.getPriority attempts to do that, but there's a bug when constraining the priority to be above 0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.