Friday, February 24, 2017

How to write a message to queue from C samples?

For sending a message to queue from C samples under mq instalation we need to do the following steps:

export MQSERVER=SVRCONN.CHANNEL/TCP/'127.0.0.1(1416)'
export MQSAMP_USER_ID=user
./opt/mqm/samp/bin/amqsputc QUEUE.NAME QMGR.NAME


On Windows it is necessary to add enviroment variable:
MQNOREMPOOL=1


Important links:

No comments:

Post a Comment