Croway opened a new pull request, #30045:
URL: https://github.com/apache/camel/pull/30045

   JIRA: [CAMEL-26983](https://issues.apache.org/jira/browse/CAMEL-26983)
   
   - With `eagerLoadingOfProperties=true`, the exception of a poison message 
was taken by an error handler with redeliveries as a failure of the first step: 
that step was redelivered with the `eagerPoisonBody` body and the message went 
on through the route, never reaching the dead letter channel or `onException`.
   - The camel-jms and camel-sjms consumers now mark the exchange of a poison 
message as redelivery exhausted (as stream caching does for a corrupt body), so 
it goes straight to the error handler.
   
   Tests: `JmsPoisonMessageRedeliveryTest` (camel-jms), 
`PoisonMessageRedeliveryTest` (camel-sjms).
   Upgrade guide: 4.24 entry "a poison message goes to the error handler 
without redeliveries".
   
   _Claude Code on behalf of Federico Mariani_
   


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

Reply via email to