ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » C++ coding - MQServer vs MQClient

Post new topic  Reply to topic
 C++ coding - MQServer vs MQClient « View previous topic :: View next topic » 
Author Message
Testo
PostPosted: Mon Jul 19, 2004 4:22 am    Post subject: C++ coding - MQServer vs MQClient Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
JasonE
PostPosted: Mon Jul 19, 2004 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Testo
PostPosted: Mon Jul 19, 2004 6:00 am    Post subject: Thanks Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
PeterPotkay
PostPosted: Mon Jul 19, 2004 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » C++ coding - MQServer vs MQClient
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.