[
https://issues.apache.org/jira/browse/ARTEMIS-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018401#comment-18018401
]
ASF subversion and git services commented on ARTEMIS-5645:
----------------------------------------------------------
Commit f30029f04a87202ac8e928b425080eb501446686 in activemq-artemis's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=f30029f04a ]
ARTEMIS-5645 Drain the receiver link if address is rejecting messages
When an address policy limits the incoming messages and starts to reject them
the AMQP link should drain remote credit to limit the remote from sending new
messages until the address has space again in which case new credit will be
granted.
> AMQP senders should have their credit drained after a send fails when address
> space constraints are exceeded
> ------------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-5645
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5645
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: AMQP
> Reporter: Timothy A. Bish
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.43.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When the address policy is set to FAIL or there is a reject after a certain
> limit set for the BLOCK policy the broker should drain link credit from the
> remote sender. This can prevent the case where the broker is configured to
> send Modified(delivery failed) instead of Rejected dispositions and the
> client turns around and immediately re-sends the message repeatedly which
> could end up dropping the message due to exceeding the max delivery attempts
> limit.
--
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