You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2015/10/02 12:01:27 UTC

[jira] [Updated] (QPID-6762) Contrary to the documentation sorted queues put messages without a sorting key at the head of the queue

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

Lorenz Quack updated QPID-6762:
-------------------------------
    Attachment: 0001-QPID-6762-Documentation-Reflect-the-current-behaviou.patch

> Contrary to the documentation sorted queues put messages without a sorting key at the head of the queue
> -------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6762
>                 URL: https://issues.apache.org/jira/browse/QPID-6762
>             Project: Qpid
>          Issue Type: Bug
>          Components: Documentation, Java Broker
>            Reporter: Lorenz Quack
>            Priority: Minor
>         Attachments: 0001-QPID-6762-Documentation-Reflect-the-current-behaviou.patch
>
>
> The documentation for sorted queues \[1] currently states:
> bq. Messages sent to a sorted queue without the specified JMS message property will be inserted into the 'last' position in the queue.
> This is not correct. The implementation treats a non existing key as the smallest possible value. The queue itself is in a smallest first order meaning a message without sorting key will be put at the *head* of the queue.
> \[1] http://qpid.apache.org/releases/qpid-0.32/java-broker/book/Java-Broker-Management-Managing-Queues.html#Java-Broker-Management-Managing-Queues-Types-Sorted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org