Defining MQI channels
To create a new channel, you have to create two channel definitions, one for each end of the connection, using the same channel name and compatible channel types. In this case, the channel types are server-connection and client-connection.
Automatically defined channels
WebSphere MQ products, and MQSeries Version 5.1, or later, products (but not z/OS) include a feature that can automatically create a channel definition on the server if one does not exist.
If an inbound attach request is received from a client and an appropriate server-connection definition cannot be found on that queue manager, WebSphere MQ creates a definition automatically and adds it to the queue manager. Automatic definitions are based on two default definitions supplied with WebSphere MQ: SYSTEM.AUTO.RECEIVER and SYSTEM.AUTO.SVRCONN. You enable automatic definition of server-connection definitions by updating the queue manager object using the ALTER QMGR command (or the PCF command Change Queue Manager).
For more information about the automatic creation of channel definitions, see the WebSphere MQ Intercommunication book.
User defined channels
Where the server does not automatically define channels there are two ways of creating the channel definitions and giving the WebSphere MQ application on the WebSphere MQ client machine access to the channel.
These two methods are described in detail in this chapter:
- Create one channel definition on the WebSphere MQ client and the other on the server.
This applies to any combination of WebSphere MQ client and server platforms. Use it when you are getting started on the system, or to test your setup.
See Creating one definition on the WebSphere MQ client and the other on the server for details on how to use this method.
- Create both channel definitions on the server machine.
Use this method when you are setting up multiple channels and WebSphere MQ client machines at the same time.
See Creating both definitions on the server for details on how to use this method.
Whichever method you choose, first you will need to create a queue manager and start WebSphere MQ Script (MQSC) commands (see Creating a queue manager and starting MQSC on the server).
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.