You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/07/13 11:55:00 UTC
[jira] [Created] (CAMEL-24049) Fix flaky JMS Spring tests - queue name isolation and readiness checks (batch 12)
Guillaume Nodet created CAMEL-24049:
---------------------------------------
Summary: Fix flaky JMS Spring tests - queue name isolation and readiness checks (batch 12)
Key: CAMEL-24049
URL: https://issues.apache.org/jira/browse/CAMEL-24049
Project: Camel
Issue Type: Improvement
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Fix flaky JMS tests that use Spring XML configuration by:
1. Replacing hardcoded generic queue names (foo, bar) with class-scoped names to prevent cross-test contamination
2. Adding route IDs to Spring XML routes so readiness checks can target them
3. Adding JmsTestHelper.waitForJmsConsumerRoutes() calls to wait for JMS consumers to be fully subscribed before sending messages
4. Replacing bare MockEndpoint.assertIsSatisfied() calls with timed assertions
Affected tests:
- JmsSpringLoadBalanceFailOverJMSIT
- RouteIdTransactedIT
- JmsRouteUsingSpringIT (via JmsRouteTest base class)
- JmsRouteUsingSpringAndJmsNameIT (via JmsRouteTest base class)
- JmsRouteUsingSpringJMSTemplateIT (via JmsRouteTest base class)
- JmsRouteUsingSpringWithAutoWireIT (via JmsRouteTest base class)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)