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 Question

Post new topic  Reply to topic
 RFH Question « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Thu Aug 07, 2003 10:43 pm    Post subject: RFH Question Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

All:

I am trying to figure out what exactly makes up an RFH version 2 structure (RFH2). I want to add RFH support in MQ Visual Edit but I don't have any systems available that can generate the message type.

Here's what I have figured out so far:
- In the message, the MQMD format is set to "MQRFH2 "
- In the message body you have the RFH structure (with version=2)
- Right after the RFH structure, there is the mcd folder
- Next is the jsm folder
- Next is the usr folder
- And finally is the message payload.

Now to the questions:
(1) Is the above list / layout correct?
(2) Is the folder order fixed? mcd, jsm, usr always in this order?
(3) It appears that both jsm and usr folders are optional (mcd is manditory). True or False?
(4) Can there be any other folder types?
i.e.
RFH struct.
<mcd>...</mcd>
<jsm>...</jsm>
<usr>...</usr>
<roger>...</roger>
payload...

(5) Can the message payload be any data type or is it always XML?

So, can I get some comments / answers / more questions?

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Fri Aug 08, 2003 5:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You might look at the Programming Guide for WMQI v2.1.

It has a chapter on the MQRFH2.
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Aug 08, 2003 10:28 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Roger,

Instead of trying to determine what name/value pairs can exist, and the order, it would probably be easier to just parse each one as you find it. There is no standard as to which ones have to appear and in which order. It all depends on the application creating the header.

Take a look at this thread:

http://www.mqseries.net/phpBB2/viewtopic.php?t=9911

I posted some Java code that I use to break down an RFH2 header.

If you have any questions, then post another question, or drop me a PM.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » RFH Question
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.