MQ

 View Only

 IBM MQ on IBM Cloud - cannot connect from Spring Boot

Mike Baranski's profile image
Mike Baranski posted Thu June 26, 2025 12:20 PM

I'm attempting to connect a Spring Boot app to IBM Cloud MQ.

I have had no luck, and the documentation and support are not terribly helpful.

It should be easy to spin up an MQ instance, get a credential and start sending to the default queues.

After quite a bit of time, I'm still stuck. The current error is:

`JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2397' ('MQRC_JSSE_ERROR').`

How can I find a guide on how to do this? The spring boot starter tutorial is written for an on-prem/docker deployment, but I can't run MQ locally because IBM does not release ARM containers (even though we devs have macbooks)...

spring.application.name=mq-playground
ibm.mq.queueManager=primary
ibm.mq.channel=CLOUD.APP.SVRCONN
ibm.mq.connName=<redacted>.qm.us-south.mq.appdomain.cloud(30991)
ibm.mq.user=<redacted>
ibm.mq.password=<redacted>