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 » RFH in C++ MQ API

Post new topic  Reply to topic
 RFH in C++ MQ API « View previous topic :: View next topic » 
Author Message
vatsanc
PostPosted: Thu Sep 14, 2006 7:29 am    Post subject: RFH in C++ MQ API Reply with quote

Newbie

Joined: 27 Jun 2006
Posts: 6

How can I modify the RFH header using MQ's C++ API. I could not find any documentation or sample code for doing this in MQ C++ API documentation.
I know it can be done using C and Java APIs. Can someone kindly point me to the appropriate doc and/or sample code. The problem I am trying to solve is as follows: A C++ sender client needs to set certain application info into message headers to be read by the Java receiver client. This application info should not be part of the message payload. Is RFH the best way to do this?

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 14, 2006 7:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Your best bet for talking to Java applications, that are presumably using JMS, from a C or C++ application is to use XMS.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vatsanc
PostPosted: Thu Sep 14, 2006 7:44 am    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2006
Posts: 6

- Is XMS available on AIX platform ? I was quite surprised to find that the list of supported platforms on IBM's page for XMS didn't have AIX...

- The Java receiver client is using Base MQ Java api (not JMS). In this case can RFH be used ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 14, 2006 7:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The RFH2 can be used - but if neither of you are using XMS/JMS, then you both have to write a fair amount of code to build and parse the RFH2.

I'd be surprsied if XMS wasn't available on the AIX platform, too - but I don't know for sure and I suspect one of the developers will be along in a bit to clarify.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vatsanc
PostPosted: Thu Sep 14, 2006 8:07 am    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2006
Posts: 6

I heard that RFH is easier to build/parse because it uses key-value pairs. Can RFH be used (instead of RFH2) with C++ clients ? The problem seems to be that neither RFH nor RFH2 is documented in the C++ API docs. I couldn't find any sample code either. Any pointers will help.

If anyone knows for certain that XMS is supported on AIX platform please post. I would like to explore that possibility.
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Sep 14, 2006 10:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Read the following link and that should answer your AIX support queustion
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24007092

I think NO
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » RFH in C++ MQ API
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.