MQ Messaging Server for Employee system
865
This image runs an IBM MQ Messaging Server to support the sample Employee system. It extends from ibmcom/mq:8.
See the mqm/config.mqsc for the full list of queues defined.
Default environment variables:
MQ_QMGR_NAME - QM.DEVMQ_USER - emp-sysMQ_PASSWORD - secr3T#1The mqm/config.mqsc script is run when the container is first created to define all channels, queues, and other resources.
docker run -d --name emp-mq -p 1414:1414 genschsa/emp-mq
Connect to the container and run MQ commands
docker exec -it emp-mq bash
dspmq -o all
runmqsc QM.DEV
display qmstatus all
display queue(DEV.*)
display qstatus(DEV.*)
# run commands from text file
runmqsc QM.DEV < mycommands.in
Connect to the queue manager from another application: (example WebSphere Liberty config)
<jmsConnectionFactory jndiName="jms/wmqCF" connectionManagerRef="ConMgr6">
<properties.wmqJms
transportType="CLIENT"
hostName="${mq.host}"
port="1414"
channel="PASSWORD.SVRCONN"
queueManager="QM.DEV"
userName="emp-sys"
password="secr3T#1" />
</jmsConnectionFactory>
IBM runmqsc Command Reference IBM MQSC Reference MQ Command Cheat Sheet
Content type
Image
Digest
Size
438.4 MB
Last updated
almost 9 years ago
docker pull genschsa/emp-mq