Configure a queue manager to accept TCP/IP client connections
TCP/IP client
Note, if you do not want to make your own, you can use the default channel.
- Start a queue manager...
strmqm [QMNAME]- Enter the MQ command interpreter...
runmqsc [QMNAME]- Define a sample channel called JAVA.CHANNEL...
DEF CHL('JAVA.CHANNEL') + CHLTYPE(SVRCONN) + TRPTYPE(TCP) + MCAUSER(' ') + DESCR('Sample channel for WebSphere MQ classes for Java')- Start a listener program...
runmqlsr -t tcp [-m QMNAME] -p 1414- Ensure your channel initiator is started. If not, start it...
START CHINIT- Start the listener...
START LISTENER TRPTYPE(TCP) PORT(1414)WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.