An optional policy to use when expired messages are found on a queue destination.
None - If a JMS template is specified for this queue, then None means that the policy is inherited from the template. Otherwise, None is equivalent to Discard.
Discard - Removes expired messages from the messaging system. The removal is not logged and the message is not redirected to another location.
Log - Removes expired messages from the system and writes an entry to the server log file indicating that the messages have been removed from the system. The actual information that is logged is defined by the Expiration Logging Policy.
Redirect - Moves expired messages from their current location to the Error Destination defined for the destination. The message retains its body, and all of its properties. The message also retains all of its header fields, but with some exceptions:
It is illegal to use the Redirect policy when there is no valid error destination defined for the destination. Similarly, it is illegal to remove the error destination for a destination using the Redirect policy.
Note: The Maximum Message quota is only enforced for sending new messages. It is ignored when moving messages because of the Redirect policy.
MBean: weblogic.management. configuration. JMSQueueMBean
Attribute: ExpirationPolicy
|