Posted: Sat Aug 17, 2002 10:01 am Post subject: Sending messages from a C++ client to a Java Client
Newbie
Joined: 17 Aug 2002 Posts: 2
Hello:
We would like send/receive messages from C++ client to a java client. I
know it is possible. But, I am not quite sure what I need to do to make
this work and what software patches I need to install to make it work? I
am running WAS 5.0 on a windows 2000 machine. My C++ client and Java
client run on windows 2000 machine as well.
With Websphere MQ 5.2 you need to dowload the MA88 SupportPac from http://www-3.ibm.com/software/ts/mqseries/txppacs/ma88.html
to get java support. The C++ libraries are already there for you along with sample code for putting/getting messages. Go to
\MQSeries\tools\cplus\samples and you will find imqsput.cpp and imqsget.cpp. The executables are in the samples\bin directory. You can download a java sample from the MQSeries.net Software repository. There is MSender.java for putting messages and MQBrowse.java for browsing/getting messages. That should get you started and then you can modify these samples as needed to suit your specific needs.
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