Skip to content

Instantly share code, notes, and snippets.

@donbr
Last active August 14, 2018 02:46
Show Gist options
  • Select an option

  • Save donbr/bcddae91d7d0a05e611cc66dc89a54f7 to your computer and use it in GitHub Desktop.

Select an option

Save donbr/bcddae91d7d0a05e611cc66dc89a54f7 to your computer and use it in GitHub Desktop.
IBM MQ Docker dev environment

IBM MQ dev environment

reference

download image

docker pull ibmcom/mq

create volume

docker volume create qm1data

start container

docker run \
  --env LICENSE=accept \
  --env MQ_QMGR_NAME=QM1 \
  --publish 1414:1414 \
  --publish 9443:9443 \
  --detach \
  --volume qm1data:/mnt/mqm \
  ibmcom/mq

default env info

web console

users

  • Administration: admin / passw0rd
  • Messaging: app / (no password) - in mqclient group

groups

  • Users in mqclient group have been given access connect to all queues and topics starting with DEV.**
  • have put, get, pub, sub, browse and inq permissions.

queues and topics

  • DEV.QUEUE.1
  • DEV.QUEUE.2
  • DEV.QUEUE.3
  • DEV.DEAD.LETTER.QUEUE - configured as the Queue Manager's Dead Letter Queue
  • DEV.BASE.TOPIC - uses a topic string of dev/

channels

Two channels are created, one for administration, the other for normal messaging:

  • DEV.ADMIN.SVRCONN - configured to only allow the admin user to connect into it. A user and password must be supplied.
  • DEV.APP.SVRCONN - does not allow administrative users to connect. Password is optional unless you choose a password for app users.

listener

  • DEV.LISTENER.TCP - listens on port 1414
  • SYSTEM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment