Description
When a queue is full, Artemis will respond with disposition=Rejected. In certain situations, it is desirable to receive a Modified in this case, so that a client may re-queue the message for re-delivery (this is what Artemis does if consumers respond with released or modified for instance).
The current behavior is determined by ProtonServerReceiverContext#actualDelivery . It would be great if this method could respond with Modified instead in the event of the exception being an ActiveMQAddressFullException.
This behavior should probably be exposed as a configuration option to avoid breaking existing behavior.
Attachments
Issue Links
- relates to
-
ARTEMIS-2497 Allow configuring alternative reject behavior for AMQP
- Closed
- links to