Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure destination keys


As messages arrive on a specific destination, by default they are sorted in FIFO (first-in, first-out) order, which sorts ascending based on each message's unique JMSMessageID. However, you can use a destination key to configure a different sorting scheme for a destination, such as LIFO (last-in, first-out).

After you configure a destination key, you can select it from within a destination resource, such as a queue, topic, distributed queue, distributed topic, or JMS template if you are using templates to configure your destinations.

To configure a destination key:

  1. In the Administration Console, navigate to the destination key resource that you want to configure:
  2. On the Configuration > General tab:
    1. In Sort Key, select a message sort key name or the name of a message header field on which to sort.
    2. In User-defined Sort Key, enter the name of a user-defined sort key when the Sort Key is set to User-defined.
    3. In Key Type, select the expected property type for the sort key. (This setting is ignored for message header field keys, which have an implied type.)
    4. In Direction, select the direction in which the key will sort messages (ascending or descending).

    For more information about these fields, see Configuration Options.

  3. Save your changes:

Related Tasks

Related Topics


Back to Top