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

   ## Summary
   
   Backport of #23179 to `camel-4.18.x`.
   
   - Skip setting `preparingShutdown = true` in `prepareShutdown()` when 
`suspendOnly = true`, preventing silent transaction rollback and redelivery 
suppression after suspend/resume
   - Fixes `RedeliveryErrorHandler` and `camel-jta` `TransactionErrorHandler`
   - Note: `camel-spring` `TransactionErrorHandler` on 4.18.x does not override 
`prepareShutdown()`, so the fix in `RedeliveryErrorHandler` (its parent) is 
sufficient
   
   ## Test plan
   
   - [x] `RedeliveryErrorHandlerSuspendResumeTest` (camel-core) — passes
   - [x] `TransactionErrorHandlerSuspendResumeTest` (camel-jta) — passes
   - [x] `TransactionalClientDataSourceSuspendResumeTest` (camel-spring-xml) — 
cannot build locally due to pre-existing `jaxb2-maven-plugin` schemagen issue 
on this branch/JDK; CI will validate
   
   _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