|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRFH2 Headers - Mapping node |
« View previous topic :: View next topic » |
Author |
Message
|
superstar |
Posted: Sat Jul 08, 2006 10:44 am Post subject: MQRFH2 Headers - Mapping node |
|
|
Apprentice
Joined: 12 May 2004 Posts: 31
|
I am trying to populate MQRFH2 headers for the output message in the mapping node. I hard coded them, but still the MQRFH2 header does not appear in the ouput.
I first hard coded the Format field of MQMD as 'MQHRF2'. And even the format field of MQMD doesnot get populated in the output. But when I put 'MQSTR' in the format, then I have MQMD coming out.
What ever ... I cannot make MQRFH2 headers get populated...
--FYI, when I created the map, I selected the option where it says, I want to create body and headers too.
Thanks,
Superstar. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jul 08, 2006 10:59 am Post subject: Re: MQRFH2 Headers - Mapping node |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
superstar wrote: |
I am trying to populate MQRFH2 headers for the output message in the mapping node. I hard coded them, but still the MQRFH2 header does not appear in the ouput.
I first hard coded the Format field of MQMD as 'MQHRF2'. And even the format field of MQMD doesnot get populated in the output. But when I put 'MQSTR' in the format, then I have MQMD coming out.
What ever ... I cannot make MQRFH2 headers get populated...
--FYI, when I created the map, I selected the option where it says, I want to create body and headers too.
Thanks,
Superstar. |
Read the manual about pub sub.
There are constant names for the format. The format you set is not right.
When adding the MQRFH header:
- add the header right after the MQMD
- insert into the format, ccsid, and encoding fields the corresponding values from MQMD
- insert into MQMD format ccsid and encoding the values for the MQRFH header
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
superstar |
Posted: Tue Jul 18, 2006 10:13 am Post subject: |
|
|
Apprentice
Joined: 12 May 2004 Posts: 31
|
What is the correct MQMD format when I try to add MQRFH2 header? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 18, 2006 2:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Again: Read the manual and the examples in the help about pub/sub.
You will find the litterals to use.
I believe the right format would be 'MQRFH '
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ydsk |
Posted: Thu Jul 20, 2006 12:29 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
The Format in MQMD should be 'MQHRF2 ' if an RFH2 header follows the MQMD header.
pls see the MQ manuals for other details.
thnx.
ydsk. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 20, 2006 1:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
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
|
|
|
|