12. Create a remote queue definition (on QM2)

When you have created a connection definition, you need to create a remote definition of a local queue on queue manager QM1.

Creating a remote queue definition using MQe_Script:

You can use the following MQe_Script command to create a remote queue definition:
mqe_script_sproxyq -create -qname Q1 -destination QM1

This command creates a synchronous proxy queue, which is a remote definition of a local queue on QM1. It is not necessary for QM1 to exist when the remote queue definition is created, but it must exist before a message is put to it.

Creating a remote queue definition programmatically:

For more information on using Java or C to create a remote queue definition, see Configuring remote queues. For examples in Java™ and C, see Java and C.


Terms of use | WebSphere software

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