activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject JMS client automatically reorders prefetched messages by default
Date Fri, 29 Mar 2013 14:32:25 GMT
Seems like it might be an unintended ordering consequence? or is it covered
by the JMS spec? I suspect the latter, but wanted to discuss anyway...
Per this JIRA, client-side
priority support was created, but also made default. So in this case, a
producer sending messages with priority values set on the messages would be
reordered in the consumer according to priority regardless of whether
priority is enabled on the broker side.

However, the JMS spec says this about priority:

"JMS does not require that a provider strictly implement priority ordering
of messages; however, it should do its best to deliver expedited messages
ahead of normal messages."

*Christian Posta*
twitter: @christianposta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message