Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Queue Manager

Status
Not open for further replies.

chandika

Programmer
Nov 18, 2003
1
US
Is it possible to create a connection to a remote queue manager through an adapter command?

For example I can pverride an input card by using -IMMQS1 -QMN <queue manager> -QN <queue>
Is it possible to connect to a remote queue manager in a similar way?

On a related note, what is the difference between the IBM Websphere MQ (Server) and (client) adaptors?

Thanks!

Chandika
 
MQ has two different ways of connecting, server and client connections (see your MQ documentation on the differences between these types of connections). Mercator simply has 2 different adapters to cater for this.

Assuming you have a set of channels between your local and remote queue managers, you can access a remote queue manager using a server connection by connecting to your local queue manager using -QMN <local queue manager> -QN <name of the local queue on the remote queue manager> -XQN <queue manager alias for the remote queue manager as defined on your local queue manager>. A queue manager alias is simply a remote queue without a queue name.

You can also use an MQ client connection, although I've never used client connections through Mercator I assume its simply a question of setting your MQSERVER or MQCHLLIB environment variables (see MQ docs) and using the same QMN and QN parameters.

Regards,

Philip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top