Posted: Mon May 25, 2009 7:30 am Post subject: Need to remove rfh2 header from message | Pub/Sub
Novice
Joined: 22 Aug 2007 Posts: 14
The code we are using for publishing a message is:
SET OutputRoot.MQMD.Format = MQFMT_RF_HEADER_2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.psc.Command = 'Publish';
SET OutputRoot.MQRFH2.psc.Topic = TopicName;
The Message when subscribed by a queue (at the TIBCO end), just requires the Message body, while the message they are getting has rfh2 contents also.
On MQ Browse the Message MQMD format it shows as MQRFH2 and content as <RFH> !@#!@.
Can we make any changes from our side for it to be viewed as just the message content (which is an xml), by the target end?
Or is there anything that we can do to remove the header, or if we can direct them to use some settings while accessing the message to be able to get the required data 'only'.
Have them use either JMS or XMS. This will handle the RFH header behind the scene in a transparent manner for the client. _________________ MQ & Broker admin
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