You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/21 00:37:51 UTC

[jira] [Resolved] (QPID-3622) Add Sorted Queue

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

Keith Wall resolved QPID-3622.
------------------------------

    Resolution: Fixed

Patch applied.
                
> Add Sorted Queue
> ----------------
>
>                 Key: QPID-3622
>                 URL: https://issues.apache.org/jira/browse/QPID-3622
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3622-Add-Sorted-Queue-funtionality.patch
>
>
> Implement a sorted queue which can sort messages using specified message property predefined on queue creation.
> The sorting performed is based on alphanumeric ascending string sort order and cannot be altered or overridden. 
> The attribute defined as the "qpid.queue_sort_key" for a queue should be present in the custom properties of the message sent i.e. a value stored by a call to Message.setStringProperty(myProperty, "abc123") and retrieved with Message.getStringProperty(myProperty). 
> The sort key value used must be of java type type String. JMS pre-defined properties can-not be used for sorting.
> Messages sent to a Sorted Queue without the specified attribute provided should be added to the end of the queue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org