Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3622

Add Sorted Queue

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • Broker-J
    • None

    Description

      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.

      Attachments

        Activity

          People

            kwall Keith Wall
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: