|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
C++ coding - MQServer vs MQClient |
« View previous topic :: View next topic » |
Author |
Message
|
Testo |
Posted: Mon Jul 19, 2004 4:22 am Post subject: C++ coding - MQServer vs MQClient |
|
|
 Centurion
Joined: 26 Feb 2003 Posts: 120 Location: Italy - Milan
|
I have a C++ module on Sun Solaris that works fine with MQServer. Can we expect that the same code will work THE SAME without any concern about the new Client configuration? This doubt because we noticed that MQClient libraries have different names from MQServer ones...
Thanks in advance for any hint about it,
Cheers
Andrea Tedone
IBM IT Specialist |
|
Back to top |
|
 |
JasonE |
Posted: Mon Jul 19, 2004 5:39 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
The decision as to server or client bindings is a link time decision, not a compile time one (ie you link with mqm or mqic*).
The same code 'should' work, but you can should also bear in mind coding to deal with expected errors - Thats not to say you couldnt get the same errors on a server based app, more that the window for problems is larger and with more variables (especially the network) |
|
Back to top |
|
 |
Testo |
Posted: Mon Jul 19, 2004 6:00 am Post subject: Thanks |
|
|
 Centurion
Joined: 26 Feb 2003 Posts: 120 Location: Italy - Milan
|
Thank you Jason.
I agree about the fact that we probably will have to consider more robust error handlings (e.g. if the network is down, we have to retry the connection to the QMgr while in the server edition, if the connection to the QMgr fails, the problem is probably serious and we stop our adapter) but at the moment we would like just to verify the link phase so your considerations are just helpful!
Cheers,
Andrea |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Jul 19, 2004 10:29 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If your code includes the MQBEGIN verb, it will not work in client mode, even though it works in bindings mode.
Otherwise, it will work either way with no changes (by design). _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|