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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to