NamedEntityBean, SettableBeanpublic interface DestinationKeyBean extends NamedEntityBean
| Modifier and Type | Method | Description | 
|---|---|---|
java.lang.String | 
getKeyType() | 
 The expected property type for this destination key. 
 | 
java.lang.String | 
getProperty() | 
 Specifies a message property name or the name of a message header field on which to sort messages. 
 | 
java.lang.String | 
getSortOrder() | 
 The direction (Ascending or Descending) in which this key will sort messages. 
 | 
void | 
setKeyType(java.lang.String type) | 
 The expected property type for this destination key. 
 | 
void | 
setProperty(java.lang.String property) | 
 Specifies a message property name or the name of a message header field on which to sort messages. 
 | 
void | 
setSortOrder(java.lang.String sortOrder) | 
 The direction (Ascending or Descending) in which this key will sort messages. 
 | 
java.lang.String getProperty()
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
void setProperty(java.lang.String property)
          throws java.lang.IllegalArgumentException
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. Sets the "property" element.
property - Sets the property to be used as a keyjava.lang.IllegalArgumentExceptionjava.lang.String getKeyType()
The expected property type for this destination key.
Gets the "key-type" elementvoid setKeyType(java.lang.String type)
         throws java.lang.IllegalArgumentException
The expected property type for this destination key.
Sets the "key-type" elementtype - The Java type of this propertyjava.lang.IllegalArgumentExceptionjava.lang.String getSortOrder()
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.
void setSortOrder(java.lang.String sortOrder)
           throws java.lang.IllegalArgumentException
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.
Sets the "sort-order" element.
sortOrder - the sort-order this destination key should havejava.lang.IllegalArgumentException