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:
Thanks.
To find the channel name:
setmqenv
See https://www.ibm.com/docs/en/ibm-mq/latest?topic=reference-setmqenv-set-mq-environmentrunmqsc
runmqsc
prompt run
display channel (*)
See https://www.ibm.com/docs/en/ibm-mq/latest?topic=reference-display-channel-display-channel-definitionAlternatively, 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.