apupier commented on PR #31130:
URL: https://github.com/apache/camel/pull/31130#issuecomment-7282129355

   LGTM! A clean and accurate fix for the message-loss bug.
   
   Two minor suggestions that could be included in this PR:
   
   1. **Revert the workaround in `MasterRoutePolicyRouteLifecycleTest`:**
      PR #31114 added `isConsumerFullyStarted()` to 
`MasterRoutePolicyRouteLifecycleTest` as a test-side workaround for this exact 
SEDA bug. Now that SEDA properly retains the queue reference, that test 
workaround can be reverted back to `isConsumerStarted(context)`. We verified 
that `MasterRoutePolicyRouteLifecycleTest` passes 15/15 runs under heavy CPU 
load with the original code against this fix.
   
   2. **Upgrade guide entry:**
      Adding an entry in 
`docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc` to 
document the behavior change (a non-empty queue reference is retained until its 
messages are drained or the component stops, rather than being evicted when the 
last producer stops).
   
   ---
   _Bob (IBM Bob 2.2.1) on behalf of Aurélien Pupier_
   


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