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

   ## Backport of #25531
   
   _Claude Code on behalf of davsclaus_
   
   Cherry-pick of the squash-merge commit from #25531 onto `camel-4.22.x`.
   
   **Original PR:** #25531 - CAMEL-24401: Fix permanent temporary replyTo 
strand in camel-jms
   **Original author:** @atiaomar1978-hub
   **Target branch:** `camel-4.22.x`
   
   ### Original description
   
   camel-jms InOut producers using temporary reply queues could enter a 
permanent `Failed to resolve replyTo destination` loop after JMS connection 
faults.
   
   `TemporaryQueueReplyManager` used a one-shot `refreshWanted` flag that was 
cleared before a replacement temporary queue was published, and could remain 
armed with no consumer left to call the destination resolver.
   
   Replaces the flag with a monotonic refresh-generation counter that is only 
acknowledged after a replacement queue is created and published to `replyTo` 
for that generation. Defers listener-container recovery until after the 
endpoint recovery interval and skips it while Spring is already recovering. 
Adds `DefaultJmsMessageListenerContainer.recoverReplyDestinationAfterRefresh()` 
as a guarded hook into Spring recovery.
   
   See #25531 for full details.


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