[ 
https://issues.apache.org/jira/browse/ARTEMIS-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021449#comment-18021449
 ] 

ASF subversion and git services commented on ARTEMIS-5669:
----------------------------------------------------------

Commit fdcf640f2b42a37ad54982579ef1e6b6b1405833 in activemq-artemis's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=fdcf640f2b ]

ARTEMIS-5669 AMQP bridge receivers prefer modified dispositions by default

AMQP Bridge 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 bridge policy 
level
to override this and ignore the connector URI as this is an opinionated 
configuration for
bridged resources. Also adds ability to configure the drain on address full and 
delivery
is rejected at the bridge configuration level.


> Send Modified(delivery-failed) to AMQP bridge receivers by default when the 
> target address is full
> --------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5669
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5669
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: AMQP
>    Affects Versions: 2.42.0
>            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 bridge receiver (probably for all 
> receivers in general) and we should make the bridge configuration opinionated 
> about this by defaulting bridge receivers send the Modified(delivery-failed) 
> disposition instead.  The option to configure this should reside in the 
> bridge 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 
> bridge 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


Reply via email to