Configure your queue manager to accept TCP/IP client connections
Configure a queue manager to accept incoming connection requests from the clients.
This task explains the basic steps for configuring a queue manager to accept TCP/IP client connections. For a production system, you must also consider the security implications when configuring queue managers.
Procedure
-
Define a server connection channel:
- Start the queue manager.
- Define a sample channel called NET.CHANNEL:
DEF CHL('NET.CHANNEL') CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ') + DESCR('Sample channel for IBM MQ classes for .NET')
Important: This sample is intended for use in a sandbox environment only, as it does not include any consideration of security implications. For a production system, consider using TLS or a security exit. See Securing for more information.
-
Start a listener:
runmqlsr -t tcp [-m qmnqme ] [-p portnum ]
Note: The square brackets indicate optional parameters; qmname is not required for the default queue manager, and the port number portnum is not required if you are using the default (1414).