Configuration Options Related Tasks Related Topics
Use this page to configure a destination key , which is used to define the sort order for messages that arrive on a specific JMS queue or topic.
Name | Description |
---|---|
Name |
The name of this JMS destination key. |
Sort Key |
Specifies a message property name or the name of a message header field on which to sort messages. Message header field keys ignore the key type and reference message header fields rather than message properties. Note: For better performance, use message header fields as sorting keys, rather than message properties. Range of Values: The JMS Property name (including user properties) or message header fields that can be sorted on are:
This attribute is not dynamically configurable. Gets the "property" element MBean Attribute
(Does not apply to application modules): Changes take effect after you redeploy the module or restart the server. |
Key Type |
The expected property type for this destination key. Gets the "key-type" element MBean Attribute
(Does not apply to application modules): Changes take effect after you redeploy the module or restart the server. |
Direction |
The direction (Ascending or Descending) in which this key will sort messages. Selecting the Ascending option for the JMSMessageID property implies a FIFO (first in, first out) sort order (the default for destinations). Select the Descending option for a LIFO (last in, first out) sort order. This attribute is not dynamically configurable. Gets the "sort-order" element MBean Attribute
(Does not apply to application modules): Changes take effect after you redeploy the module or restart the server. |
User-defined Sort Key |
Specifies the sort key value when the Sort Key is User-defined. |
![]() ![]() |