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

   [CAMEL-27764](https://issues.apache.org/jira/browse/CAMEL-27764)
   
   `camel infra run ibmmq` printed connection details that do not work:
   
   - `"password" : ""`, but the container starts with 
`MQ_APP_PASSWORD=passw0rd` (`IbmMQProperties.DEFAULT_APP_PASSWORD`). 
`IbmMQInfraService.password()` had a default that returned `""`, and nothing 
overrides it. A route that used the printed values failed with 
`MQRC_NOT_AUTHORIZED (2035)`.
   - `"brokerUrl" : "amqp://localhost:1414"`, but 1414 is the IBM MQ listener, 
not AMQP. Nothing in Camel calls `brokerUrl()`, so it is removed.
   
   `username()` and `password()` now return the constants the container is 
started with.
   
   Checked on an arm64 Mac (Docker runs the amd64 image with Rosetta): `camel 
infra run ibmmq` now prints `"password" : "passw0rd"` and no `brokerUrl`, and a 
YAML route with the JMS component and `com.ibm.mq.jakarta.client` 9.4.3.0 sends 
and receives 3 messages on `DEV.QUEUE.1` with exactly the printed values. 
`JmsComponentIbmMQTest` and `JmsReplyToIbmMQTest` are disabled on aarch64 and 
do not use these methods.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF


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