This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 97e217cbac0f CAMEL-27764: camel-test-infra-ibmmq - camel infra run
ibmmq shows the real password and no wrong amqp broker URL (#31093)
97e217cbac0f is described below
commit 97e217cbac0f931a37eb79ed1fc4fb4573d7ce0f
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Nov 30 11:52:30 2026 +0100
CAMEL-27764: camel-test-infra-ibmmq - camel infra run ibmmq shows the real
password and no wrong amqp broker URL (#31093)
The container starts with MQ_APP_PASSWORD=passw0rd, but
IbmMQInfraService.password() returned "", so
camel infra run ibmmq showed an empty password, and a route that used it
failed with MQRC_NOT_AUTHORIZED (2035).
brokerUrl() returned amqp://host:1414, but 1414 is the IBM MQ listener, not
AMQP; it is removed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../camel/test/infra/ibmmq/services/IbmMQInfraService.java | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
a/test-infra/camel-test-infra-ibmmq/src/main/java/org/apache/camel/test/infra/ibmmq/services/IbmMQInfraService.java
b/test-infra/camel-test-infra-ibmmq/src/main/java/org/apache/camel/test/infra/ibmmq/services/IbmMQInfraService.java
index 142467b97e9c..b8dba70d2d64 100644
---
a/test-infra/camel-test-infra-ibmmq/src/main/java/org/apache/camel/test/infra/ibmmq/services/IbmMQInfraService.java
+++
b/test-infra/camel-test-infra-ibmmq/src/main/java/org/apache/camel/test/infra/ibmmq/services/IbmMQInfraService.java
@@ -17,6 +17,7 @@
package org.apache.camel.test.infra.ibmmq.services;
import org.apache.camel.test.infra.common.services.InfrastructureService;
+import org.apache.camel.test.infra.ibmmq.common.IbmMQProperties;
/**
* Test infra service for IBM MQ.
@@ -40,15 +41,11 @@ public interface IbmMQInfraService extends
InfrastructureService {
}
default String username() {
- return "app";
+ return IbmMQProperties.DEFAULT_APP_USER;
}
default String password() {
- return "";
- }
-
- default String brokerUrl() {
- return String.format("amqp://%s:%d", host(), port());
+ return IbmMQProperties.DEFAULT_APP_PASSWORD;
}
default String uiUrl() {