Author |
Message
|
kingsley |
Posted: Tue Sep 17, 2002 12:56 am Post subject: RFH Header |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
Hi EveryBody,
As part of learning MQSI, i came to know that we need to keep a RFH Header into the Message containg the <Name- Value> Pair for the MQSI.
Can anyone let me know, how to keep a RFH header into the message.
If possible, can you give a sample programm or atleast a thorough and easy to use Skeleton.
Looking forward.
rgds,
kalyan |
|
Back to top |
|
 |
kirani |
Posted: Tue Sep 17, 2002 3:35 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Kalyan,
I am not sure If I understand your question.
Do you want to create new RFH header in your output message using MQSI or do you want to copy RFH header from input message to your output message? Pl clarify? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kingsley |
Posted: Tue Sep 17, 2002 7:48 pm Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
Hi kiran,
There are two ways to identify an input message to the broker:
Message properties in RFH2 header:
<mcd>
<Msd>MRM</Msd>
<Set>MessageSetProperty</Set>
<Type>MessageTypeProperty</Type>
<Fmt>MessageFormatProperty</Fmt>
</mcd>
Where:
– MessageSetProperty is the message set identifier
– MessageTypeProperty is the message identifier
– MessageFormatProperty is the wire format identifier
If there is no RFH2 header in the input message, the broker will use the
default properties set in the input node (for example, an MQInput node
This part is from sg246579.pdf.
So how do i keep RFH Header with in message when i keep message in the Queue
Rgds,
kalyan |
|
Back to top |
|
 |
kirani |
Posted: Tue Sep 17, 2002 8:51 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Kalyan,
You could use SupportPac IH02 - MQSeries Integrator V2 - Put utility to put message on the queue with MQRFH2 header. You can download the supportPac from url ..
http://www-3.ibm.com/software/ts/mqseries/txppacs/ih02.html
In real world you will have some application feeding your message flow, the same application should set MQRFH2 header in the message. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kingsley |
Posted: Tue Sep 17, 2002 9:20 pm Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
Hi
Can you give an example of Program for RFH
rgds,
kalyan |
|
Back to top |
|
 |
kirani |
Posted: Tue Sep 17, 2002 10:05 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
In which language?
If you do a search on RFH on this site, you will find some VB sample code.
You will find some documentation on MQRFH2 header in MQSeries Programming Reference and Programming Guide. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Reconda |
Posted: Wed Sep 18, 2002 4:25 am Post subject: |
|
|
Apprentice
Joined: 20 Jun 2002 Posts: 40
|
Kalyan,
Our QN-AppWatch will create RFH and RFH2 headers on request, when used to write messages or copy files of messages to local queues. It allows the user to enter fields such as App. Group, Message Type and Message Domain when creating the RFH / RFH2 header.
We will be demonstrating our technology via a Webinar on Tuesday September 24th from 12-1 pm EST. You can register for the Webinar by clicking on this link: http://www.reconda.com/webinarinfo.htm |
|
Back to top |
|
 |
|