Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Configuration Reference

# JMSDestinationKey

# Description

This class represents a key value for a destination, which is used to define the sort order of messages as they arrive on a destination.

# Syntax

>     <JMSDestinationKey
>       Direction=( "Ascending" | "Descending" )
>       KeyType=( "Boolean" | "Byte" | "Short" | "Int" | "Long" | "Float" | "Double" | "String" )
>       Name="String"
>       Notes="String"
>       Property=( "JMSMessageID" | "JMSTimestamp" | "JMSCorrelationID" | "JMSPriority" | "JMSExpiration" | "JMSType" | "JMSRedelivered" | "JMSDeliveryTime" )
>     />

# Parent Elements

- Domain

# Attributes

Table 28-1 JMSDestinationKey attributes

Attribute | Description | Range of Values and Default
--- | --- | ---
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. | Admin Console field label: Direction Required: no Default: Ascending
KeyType | The expected property type for this destination key. | Admin Console field label: Key Type Required: no Default: String
Name | The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration. | Admin Console field label: Name Required: no
Notes | Optional information that you can include to describe this configuration. | Admin Console field label: Notes Required: no
Property | 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: JMSMessageID JMSTimestamp JMSCorrelationID JMSPriority JMSExpiration JMSType JMSRedelivered JMSDeliveryTime This attribute is not dynamically configurable. | Admin Console field label: Sort Key