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 » JMS for C++

Post new topic  Reply to topic
 JMS for C++ « View previous topic :: View next topic » 
Author Message
Sacha
PostPosted: Mon Nov 13, 2006 2:49 am    Post subject: JMS for C++ Reply with quote

Novice

Joined: 05 Dec 2004
Posts: 10
Location: Switzerland

Hi,

I made a project 2 years ago based on the C++
examples mqreq.cpp and mqsrv.cpp from IBM.

Now i might have to receive JMS messages from
a Java based counterparty.

Can a C++ Prg. receive and send JMS messages?
If yes, what is the difference to the mqreq.cpp and
mqsrv.cpp examples provided?
Nothing or just different header to use?
Where can i find an example code C++ sending and
getting JMS messages?

Regards
Sacha
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 13, 2006 2:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Look up XMS

There's no difference in the messages, they just contain an MQRFH2 header that you need to process. Either long hand within your code or via XMS.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 13, 2006 2:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

P.S. The sending JMS app can suppress the RFH2 header in code, making it readable by a "standard" application. Don't know how much control you have over the sending app or indeed if the RFH2 contains significant information for you in the <usr> folder but thought I'd mention it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
saketr
PostPosted: Sat Feb 24, 2007 10:19 am    Post subject: Reply with quote

Apprentice

Joined: 08 Feb 2006
Posts: 41

You should look at support IA94 here:

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24007092&loc=en_US&cs=utf-8&lang=en

As Vitor mentioned, there is a facility to send the message with or without RFH2. This is controlled by the property XMSC_WMQ_TARGET_CLIENT.

Samples and comprehensive documentation is available as part of the download.

--

a Hursley view on WebSphere MQ @ http://hursleyonwmq.wordpress.com
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 » JMS for C++
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.