gnodet opened a new pull request, #21917: URL: https://github.com/apache/camel/pull/21917
## Summary - `JmsToJmsTransactedSecurityIT` consistently fails on JDK 25 with `ActiveMQNotConnectedException: AMQ219007: Cannot connect to server(s)` because the embedded Artemis broker gets stuck in `STARTING` state and never activates. - Root cause: `ActiveMQServers.newActiveMQServer(String configURL, MBeanServer, SecurityManager)` hardcodes `enablePersistence=true` regardless of the XML configuration's `<persistence-enabled>false</persistence-enabled>`. On JDK 25, enabling persistence causes journal initialization to hang, likely due to tighter native access restrictions (`System::loadLibrary` warnings from `activemq-artemis-native`) affecting the AIO→NIO fallback path. - Fix: Parse the XML config manually with `FileDeploymentManager` (same as `ActiveMQServers` does internally) and call the 4-arg `newActiveMQServer(config, null, securityManager, false)` to correctly honor the XML's persistence setting. Upstream Artemis issue: https://issues.apache.org/jira/browse/ARTEMIS-5233 ## Test plan - [x] `JmsToJmsTransactedSecurityIT` passes locally on JDK 25 (both failsafe executions) - [x] `JmsTransactedDeadLetterChannelHandlerRollbackOnExceptionIT` still passes - [x] `JmsTransactedDeadLetterChannelNotHandlerRollbackOnExceptionIT` still passes -- 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]
