atiaomar1978-hub commented on PR #25333: URL: https://github.com/apache/camel/pull/25333#issuecomment-5187088615
## Fix summary Addresses [CAMEL-24024](https://issues.apache.org/jira/browse/CAMEL-24024) — flaky `InOutQueueProducerAsyncLoadTest` in CI. **Context:** Core fix (500 msgs, `CountDownLatch`, failure counter) landed as [CAMEL-24027](https://issues.apache.org/jira/browse/CAMEL-24027) / #24626. This PR hardens remaining flake sources. **Changes:** - Poll with Awaitility until inflight repository is drained (async route lag) - Track JMS listener errors via `AtomicInteger` instead of `fail()` from callback thread - `try/finally` for executor shutdown; termination assert outside `finally` - Catch `Throwable` in worker threads so assertion failures are counted - Null-safe `MessageProducer.close()`, named timeout constants **Verified:** ```bash ./mvnw -pl components/camel-sjms -am test -Dtest=InOutQueueProducerAsyncLoadTest ``` --- _AI-generated comment on behalf of atiaomar1978-hub_ -- 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]
