Search code examples
spring-bootdockeribm-mq

Connecting to ibmmq qm fails , channel name not recognized


issue: connecting with spring boot to ibmmq , working ibmmq on dockor version 9.1.5-r2

in online environment: connecting is enabled ,all is fine.

in offline environment channel name is not recognized, getting channel unknown error - 'MQRC_UNKNOWN_CHANNEL_NAME'

channel name DEV.ADMIN.SVRCONN

2 questions:

  1. why offline is different and how it can be fixed?
  2. connected to container with docker exec, how can i find the actual channel name of the queue manager.

Thanks.


Solution

  • To find the channel name:

    Alternatively, you could just log into the MQ Console on https://localhost:9443/ibmmq/console and list the system channels.

    If you are using the IBM MQ Advanced for Developers image from icr.io/ibm-messaging/mq:latest then the channels DEV.APP.SVRCONN and DEV.ADMIN.SVRCONN will have been created for you. Apps will normally use DEV.APP.SVRCONN

    If you have built the image locally based on instructions from https://github.com/ibm-messaging/mq-container/blob/master/docs/building.md then you need to have run make build-devserver. If you ran make build-advancedserver then the default DEV channels will not have been created.