You can use IBM® WebSphere® MQ Explorer to define the
client-connection if you are setting up the client and server on the same workstation on a Windows or Linux® system.
Procedure
- Select the queue manager, QUEUE.MANAGER.1
- Open the Channels folder, then right
click
- Enter the channel name, CHANNEL1, for
the client connection, and click Next.
- Enter the queue manager name, QUEUE.MANAGER.1
- Enter the following string as the connection name:
server-address(port)
Where:
server-address
is the TCP/IP
host name of the server
port
is the TCP/IP port number
the server is listening on
- Click Finish.
- From the command line, set the
MQCHLLIB
environment
variable:
Note: The queue manager name contains .
. IBM WebSphere MQ creates the queue manager directory
with the name, QUEUE!MANAGER!1
What to do next
Use the sample programs to test communication between the
client and server. See Testing communication between a client and a server.