Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.j2ee.descriptor.wl
Interface DestinationKeyBean

All Superinterfaces:
NamedEntityBean, SettableBean

public interface DestinationKeyBean
extends NamedEntityBean

Destination Key beans control the sorting criteria of JMS destinations


Method Summary
abstract  String getKeyType()
          The expected property type for this destination key.
abstract  String getProperty()
          Specifies a message property name or the name of a message header field on which to sort messages.
abstract  String getSortOrder()
          The direction (Ascending or Descending) in which this key will sort messages.
abstract  void setKeyType(String type)
          The expected property type for this destination key.
abstract  void setProperty(String property)
          Specifies a message property name or the name of a message header field on which to sort messages.
abstract  void setSortOrder(String sortOrder)
          The direction (Ascending or Descending) in which this key will sort messages.

 

Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes

 

Method Detail

getProperty

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

Returns:
The property value

setProperty

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.

Parameters:
property - Sets the property to be used as a key
Throws:
IllegalArgumentException

getKeyType

String getKeyType()

The expected property type for this destination key.

Gets the "key-type" element
Returns:
The keyType value

setKeyType

void setKeyType(String type)
                throws IllegalArgumentException

The expected property type for this destination key.

Sets the "key-type" element
Parameters:
type - The Java type of this property
Throws:
IllegalArgumentException

getSortOrder

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.

Returns:
The direction value

setSortOrder

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.

Parameters:
sortOrder - the sort-order this destination key should have
Throws:
IllegalArgumentException

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09