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

   Backport of #25558 to `camel-4.22.x`.
   
   ## Summary
   
   Fixes CAMEL-24408: when a SEDA producer and consumer share the same
   endpoint URI with `discardIfNoConsumers=true`, removing the consumer
   route tore down the shared queue reference while producers were still
   active, causing `SedaConsumerNotAvailableException` instead of silently
   discarding messages.
   
   This is a clean cherry-pick of the squashed commit from #25558
   (`d19b4f96fadc28c6ecbff5f3efeb16f9f2c56f7f`), which already went through
   review on `main`. It includes both regression tests
   (`SedaDiscardIfNoConsumerAfterRemovalTest` and
   `SedaDiscardIfNoConsumersProducerRouteRestartTest`).
   
   Replaces #25560, which was missing
   `SedaDiscardIfNoConsumersProducerRouteRestartTest`.
   
   Closes #25560
   
   _Claude Code on behalf of davsclaus_


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