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

   ## Summary
   
   _Claude Code on behalf of gnodet_
   
   Fix flaky `JmsDurableTopicIT` (~2.8% failure rate — 2 failed, 12 flaky out 
of 494 CI runs).
   
   - **Root cause**: The `@BeforeEach` setup only waited for `route-2` to reach 
200ms uptime before the test sent a message to the durable topic. `route-1`'s 
durable subscriber could still be registering with the broker, so `mock:result` 
intermittently missed the message.
   - **Fix**: Use the shared `JmsTestHelper.waitForJmsConsumerRoutes()` helper 
(introduced in CAMEL-21438) to wait for **both** `route-1` and `route-2` before 
sending, consistent with the pattern used in `SingleMessageSameTopicIT` and 
`JmsAddAndRemoveRouteManagementIT`.
   
   ## Test plan
   
   - [x] `mvn test -pl components/camel-jms -Dtest=JmsDurableTopicIT` passes 
locally
   - [ ] CI build passes
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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