6. Create a listener (L1)

When you have created a remote queue definition, you need to create a listener.

Creating a listener using MQe_Script:

You can use the following MQe_Script command to create a listener called L1 (on queue manager QM1):
mqe_script_listen -create -listenname L1 -port 1882

Creates a listener for queue manager QM1 and listens on port 1882. The default communications adapter is used, which is the Http adapter.

Creating a listener programmatically:

For more information on using Java™ to create a listener, see Configuring a listener. For an example, see Java.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.