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 String
Flow control - the producers are slowed down.static final String
Rejects the newest messages.static final String
Throws out the lowest priority messages according to age of the messages (producing client receives no notification of message deletion).static final String
Remove oldest - throws out the oldest messages.static final String
Unknown destination limit behavior. -
Method Summary
-
Field Details
-
UNKNOWN
Unknown destination limit behavior.- See Also:
-
FLOW_CONTROL
Flow control - the producers are slowed down.- See Also:
-
REMOVE_OLDEST
Remove oldest - throws out the oldest messages.- See Also:
-
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:
-