public interface DestinationKeyBean extends NamedEntityBean
Modifier and Type | Method and Description |
---|---|
String |
getKeyType()
The expected property type for this destination key.
|
String |
getProperty()
Specifies a message property name or the name of a message header field on which to sort messages.
|
String |
getSortOrder()
The direction (Ascending or Descending) in which this key will sort messages.
|
void |
setKeyType(String type)
The expected property type for this destination key.
|
void |
setProperty(String property)
Specifies a message property name or the name of a message header field on which to sort messages.
|
void |
setSortOrder(String sortOrder)
The direction (Ascending or Descending) in which this key will sort messages.
|
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(String property) throws 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 keyIllegalArgumentException
String getKeyType()
The expected property type for this destination key.
Gets the "key-type" elementvoid setKeyType(String type) throws IllegalArgumentException
The expected property type for this destination key.
Sets the "key-type" elementtype
- The Java type of this propertyIllegalArgumentException
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(String sortOrder) throws 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 haveIllegalArgumentException