[
https://issues.apache.org/jira/browse/ARTEMIS-5650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019202#comment-18019202
]
ASF subversion and git services commented on ARTEMIS-5650:
----------------------------------------------------------
Commit 243fa61ce1f18cd864a379ffab8689a78a384572 in activemq-artemis's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=243fa61ce1 ]
ARTEMIS-5650 AMQP Federation receivers prefer modified dispositions by default
AMQP Federation receiver links configure themselves to a default of sending a
modified
disposition for address full errors to allow the remote sender to redeliver the
message
instead of the broker default which is to send rejected dispositions meaning
the remote
must discard or DLQ the message. Allows for configuration at the federation
policy level
to override this and ignore the connector URI as this is an opinionated
configuration for
federation resources.
> Send Modified(delivery-failed) to AMQP Federation receivers by default when
> the target address is full
> ------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-5650
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5650
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: AMQP
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.43.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The current default for AMQP receivers is to send a Rejected disposition to
> the sender when a send fails due to an address being full. This behavior is
> not what the ideal default should be for a federation receiver (probably for
> all receivers in general) and we should make the federation configuration
> opinionated about this by defaulting federation receivers send the
> Modified(delivery-failed) disposition instead. The option to configure this
> should reside in the federation configuration top level or in the individual
> address and queue policies if someone really wants to change it back to
> Rejected.
> By changing this default the and combining it with the previous changes to
> drain link credit when an address reports full for an incoming message the
> federation resource will resend an address message if new credit is granted
> or allow a queue message to go to a local consumer if one has capacity before
> the remote address has space and grants new link credit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact