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 » WebSphere Message Broker (ACE) Support » Create two RFH2 headers

Post new topic  Reply to topic
 Create two RFH2 headers « View previous topic :: View next topic » 
Author Message
x061294
PostPosted: Fri Jul 08, 2005 5:55 am    Post subject: Create two RFH2 headers Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 08, 2005 6:11 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » Create two RFH2 headers
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.