|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Create two RFH2 headers |
« View previous topic :: View next topic » |
Author |
Message
|
x061294 |
Posted: Fri Jul 08, 2005 5:55 am Post subject: Create two RFH2 headers |
|
|
 Acolyte
Joined: 05 Apr 2005 Posts: 62
|
I am interested in adding some data to a message that passes through the broker (5.0.4). This message already has an RFH2 header.
I could add the data to that header, however, then I'm "changing" the user message, which isn't desirable. I thought it was possible to string multiple RFH2 header's onto a message. If so, I could add my information to the second RFH2 header, and, while technically this is changing the user message it is done in a much less intrusive way.
First, am I correct that I can string multiple RFH2 headers together? And if so, how would I code this in the broker ESQL? Everything I try just appends to the first RFH2 header.
Any suggestions appreicated. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 08, 2005 6:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can add multiple RFH2 headers.
You will need to change the format of the first one to indicate that the body it contains is an RFH2 header, not a message.
You should be able to address all of the fields as InputRoot.MQRFH2[2] or InputRoot.MQRFH2[1]. And you will need to use Create Field with the Parse option to assign the MQRFH2 parser to add the second MQRFH2 part.
It should be the next Child of the first MQRFH2, and the message body should be the last child of InputRoot. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|