Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public static ConnectionFactory createConnectionFactory(String queueManager, Str
factory.setChannel(channel);
factory.setPort(port);
factory.setTransportType(WMQConstants.WMQ_CM_CLIENT);
factory.setBooleanProperty(WMQConstants.USER_AUTHENTICATION_MQCSP, true);
factory.setStringProperty(WMQConstants.USERID, IbmMQProperties.DEFAULT_APP_USER);
factory.setStringProperty(WMQConstants.PASSWORD, IbmMQProperties.DEFAULT_APP_PASSWORD);

return factory;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public class IbmMQProperties {

public static final String DEFAULT_QMGR_NAME = "QM1";
public static final String DEFAULT_CHANNEL = "DEV.APP.SVRCONN";
public static final String DEFAULT_APP_USER = "app";
public static final String DEFAULT_APP_PASSWORD = "passw0rd";

private IbmMQProperties() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public IbmMQContainer() {
withNetworkAliases(CONTAINER_NAME)
.withEnv("LICENSE", "accept")
.withEnv("MQ_QMGR_NAME", IbmMQProperties.DEFAULT_QMGR_NAME)
.withEnv("MQ_APP_PASSWORD", IbmMQProperties.DEFAULT_APP_PASSWORD)
.withLogConsumer(new Slf4jLogConsumer(LOG))
.waitingFor(Wait.forLogMessage(
".*Queued Publish/Subscribe Daemon started for queue manager.*", 1));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
ibm.mq.container=icr.io/ibm-messaging/mq:9.3.2.0-r2
ibm.mq.container=icr.io/ibm-messaging/mq:9.4.5.0-r1
ibm.mq.container.version.exclude=amd64,arm64,ppc64le,s390x,x86_64
Loading