|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
RFH Question |
« View previous topic :: View next topic » |
Author |
Message
|
RogerLacroix |
Posted: Thu Aug 07, 2003 10:43 pm Post subject: RFH Question |
|
|
 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 |
|
 |
jefflowrey |
Posted: Fri Aug 08, 2003 5:22 am Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Fri Aug 08, 2003 10:28 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|