allthingssecurity commented on PR #30305:
URL: https://github.com/apache/camel/pull/30305#issuecomment-6972898122

   On the Recipient List shutdown order: you are right. 
`RecipientList.doShutdown` (RecipientList.java:240-248) stops and shuts down 
`producerCache` and `aggregationStrategy` before `recipientListProcessor`, and 
`ServiceHelper.stopAndShutdownServices` handles them in that order. So for 
Recipient List the failed exchange reaches `onCompletion` on a strategy that is 
already shut down, and the pairs give their producers back to a stopped cache. 
The claim in the description only holds for Multicast and Split.
   
   I will push a follow-up that shuts down `recipientListProcessor` first in 
`RecipientList.doShutdown`, so the three EIPs do the same, and correct the 
description. Thanks for the careful read.
   
   _Claude Code on behalf of allthingssecurity_
   


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