Message Priority


The JMS specification includes a message header field in which senders can set the priority of a message, as a value in the range [0,9]. EMS does support message priority (though it is optional, and other vendors might not implement it).

When the EMS server has several messages ready to deliver to a consumer client, and must select among them, then it delivers messages with higher priority before those with lower priority.

However, priority ordering applies only when the server has a backlog of deliverable messages for a consumer. In contrast, when the server rarely has only one message at a time to deliver to a consumer, then the priority ordering feature will not be apparent.

See Also

JMS Specification, chapter 3.4.10


TIBCO Enterprise Message Service™ User’s Guide
Software Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com