5.5.3 imq.autocreate.destination.limitBehavior
imq.autocreate.destination.limitBehavior sets the broker behaviour on reaching the memory-limit threshold.
Description
imq.autocreate.destination.limitBehavior sets the broker behaviour on reaching the memory-limit threshold:
FLOW_CONTROL: Slow down producers.
REMOVE_OLDEST: Remove the oldest messages.
REMOVE_LOW_PRIORITY: Remove the lowest-priority messages according to age. Notifications are not sent to the client that generates these messages.
REJECT_NEWEST: Reject newest messages and notify the producing client with an exception only if the message is persistent.
When the FLOW_CONTROL is specified, it is still possible for the number of messages to exceed imq.system.max_count. In this situation, the broker generates a ResourceAllocationException indicating that the destination is full and rejects new messages.
If the value is REMOVE_OLDEST or REMOVE_LOW_PRIORITY and the imq.autocreate.destination.useDMQ property is set as true, then excess messages are moved to the dead message queue.
Specifiable values
Type: String
{FLOW_CONTROL | REMOVE_OLDEST | REMOVE_LOW_PRIORITY | REJECT_NEWEST}