ruthst00 opened a new pull request, #2867:
URL: https://github.com/apache/activemq/pull/2867

   ## Description
   
   ### The Problem
   When an AMQP consumer rejects a message with an error condition and 
description, those details are not propagated into the broker’s DLQ 
failure-cause metadata. Poison-message handling still occurs, subject to 
configured broker policies. This is primarily an observability and 
troubleshooting gap.
   
   ### The Fix
   Fixes [#1878](https://github.com/apache/activemq/issues/1878)
   
   Fixed issue when AMQP transport ignores error from Rejected:
   
   - AMQP `Rejected` error details now populate `MessageAck.poisonCause`, 
making the condition, description, and optional `info` available in DLQ 
`dlqDeliveryFailureCause`.
   - Rejection without an error retains its existing behavior.
   - Added test-client support and regression coverage for error-bearing 
rejections, including a missing description.
   
   ### Validation
   - Confirmed the new tests failed before the fix and passed afterward. 
   - Receiver and transaction suites passed: **48 tests, 0 failures/errors**. 
`git diff --check` is clean.
   
   Generated with [GPT 6 
Sol](https://openai.com/index/introducing-gpt-6-sol-and-luna/) via [Cline API 
Provider](https://cline.bot/) in [IntelliJ IDEA 
2026.3](https://www.jetbrains.com/idea/whatsnew/)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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