1 2 3 | queue.manager=WMQ1QM queue.manager.host=127.0.0.1 queue.name=WMQ1OutputQ |
1 2 3 | queue.manager=WMQ2QM queue.manager.host=127.0.0.1 queue.name=WMQ2InputQ |
1 | /opt/IBMJava2-142/bin/java -cp .:com.ibm.mq.jar mqconn.MQSend "$@" |
1 | /opt/IBMJava2-142/bin/java -cp .:com.ibm.mq.jar mqconn.MQGet "$@" |
1 2 3 | mqm@wmq1:~/bin> ./mqsend "This is test message" MQJE001: Completion Code 2, Reason 2045 Message sent. |
1 2 | mqm@wmq2:~/bin> ./mqget This is test message |
1 2 3 4 5 6 7 | mqm@wmq1:~/bin> ./mqsend "This is test message" This is another message MQJE001: Completion Code 2, Reason 2045 Message sent. Message sent. Message sent. Message sent. Message sent. |
1 2 3 4 5 6 7 8 9 10 11 12 | mqm@wmq2:~/bin> ./mqget This is test message mqm@wmq2:~/bin> ./mqget This mqm@wmq2:~/bin> ./mqget is mqm@wmq2:~/bin> ./mqget another mqm@wmq2:~/bin> ./mqget message mqm@wmq2:~/bin> ./mqget MQJE001: Completion Code 2, Reason 2033 |
1 2 3 4 | mqm@wmq1:~/bin> ls -1 mqconn/*.java | awk '{print "mqsend -f "$1""}' | sh 2> /dev/null Message sent. Message sent. Message sent. |
1 | mqm@wmq2:~/bin> ./mqget > msg1.txt |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |