13. Create a listener (on QM2) called L2

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 L2 (on queue manager QM2):
mqe_script_listen -create -listenname L2 -port 1881

Creates a listener for queue manager QM2 and listens on port 1881. 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.