FilePendingMessageCursor memory list does not respect priority for non
persistent messages
------------------------------------------------------------------------------------------
Key: AMQ-3596
URL: https://issues.apache.org/jira/browse/AMQ-3596
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.5.1
Reporter: Gary Tully
Assignee: Gary Tully
Fix For: 5.6.0
Priority support for non persistent messages is broken if all messages remain
in memory. The first dispatch will in receipt order so the consumers ordering
is not sufficient.
Problem: the default store cursor uses a file pending cursor for non persistent
messages, but the in memory list is not priority aware.
Work around: is to use the vmCursor or to disable broker persistence.
Fix: is to make use of the PendingList from a vm cursor for the memory list of
a file pending message cursor.
--
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