[
https://issues.apache.org/jira/browse/CAMEL-24049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-24049 started by Guillaume Nodet.
-----------------------------------------------
> 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
> Priority: Major
>
> 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)