|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
same process act as client/server possible? |
« View previous topic :: View next topic » |
Author |
Message
|
girlinusa2006 |
Posted: Tue May 16, 2006 12:51 pm Post subject: same process act as client/server possible? |
|
|
Novice
Joined: 09 May 2006 Posts: 24
|
Hi,
I have this process which connects to a remote queue manager and writes to it and also reads its local queue manager for any messages.
But when i am compiling an runnign this program, I am just able to do only 1 of the things.
If i compile using -lmqic, I can just connect to remote queue maanager and write to remote queue. I cannot connect to my local queue manager.
If i compile using -lmqm, I cannot connect to remote queue manager. But I can connect to my local queue manager and read the queue.
What should I do, in order for the same process to do the above I have mentioned?? Connect to both remote queue manager and local queue manager. ( my MQ read object and write object are seperate)
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 16, 2006 12:56 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't think it's possible to have an application that makes a bindings connection AND a client connection in the same code. Particularly not a C program.
You can make client connections to as many queue managers as you want - although you should consider whether you are trying to emulate channel behavior if you are connecting to more than one queue manager at the same time. If you are doing work that is better done by channels (i.e., moving messages from one qmgr to another!), then just let the channels do the work. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
EddieA |
Posted: Wed May 17, 2006 10:51 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Hmmmm. SupportPac MA01, q, does it:
Quote: |
[-l Library name] e.g.mqm or mqic32 |
But that is a choice. I tend to agree that you can't connect to both at the same time.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
clindsey |
Posted: Wed May 17, 2006 10:57 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|