Instructions if WebSphere MQ Explorer is NOT available
- Create a queue manager.
- crtmqm –q QM_QueueManager
- Start the queue manager.
- Enable MQSC commands.
- runmqsc
- Create the queue to be used for receiving messages.
- DEFINE QLOCAL(EXPEREQUEUE.QUEUE)
- Create the dead letter queue.
- DEFINE QLOCAL(EXPEREDEADLETTER.QUEUE)
- Assign the dead letter queue to the queue manager.
- ALTER QMGR DEADQ(EXPEREDEADLETTER.QUEUE)
- Assign a backout threshold to the message receiving queue.
- ALTER QLOCAL(EXPEREQUEUE.QUEUE) BOTHRESH(4)
- Create and start the server connection channel.
- DEFINE CHANNEL(EXPERECHANNEL) CHLTYPE(SVRCONN)
- START CHANNEL(EXPERECHANNEL)
- Start the listener.
- START LISTENER(SYSTEM.DEFAULT.LISTENER.TCP)
- Exit MQSC.