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 11:52:26 UTC
[jira] [Created] (QPID-6762) Contrary to the documentation sorted
queues put messages without a sorting key at the head of the queue
Lorenz Quack created QPID-6762:
----------------------------------
Summary: 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
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