Class DestinationLimitBehavior
java.lang.Object
com.sun.messaging.jms.management.server.DestinationLimitBehavior
Class containing information on destination limit behavior. These values specify how a destination responds when a
memory-limit threshold is reached.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFlow control - the producers are slowed down.static final StringRejects the newest messages.static final StringThrows out the lowest priority messages according to age of the messages (producing client receives no notification of message deletion).static final StringRemove oldest - throws out the oldest messages.static final StringUnknown destination limit behavior. -
Method Summary
-
Field Details
-
UNKNOWN
-
FLOW_CONTROL
-
REMOVE_OLDEST
-
REJECT_NEWEST
Rejects the newest messages. The producing client gets an exception for rejection of persistent messages only. To use this limit behavior with non-persistent messages, set the imqAckOnProduce connection factory attribute.- See Also:
-
REMOVE_LOW_PRIORITY
Throws out the lowest priority messages according to age of the messages (producing client receives no notification of message deletion).- See Also:
-