How to get rid of RFH headers from messages sent from BW to MQ series?Why do we see some headers when a message is sent from BW to MQ series?

How to get rid of RFH headers from messages sent from BW to MQ series?Why do we see some headers when a message is sent from BW to MQ series?

book

Article ID: KB0090950

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
When we send message from BW with Queue sender or from java code to MQ queue, some times RFH headers get prepended to the message. And they look like as below

------------------
RFH &ltmcd>&ltMsd&gtjms_text</Msd></mcd>  d&ltjms>&ltDst&gtqueue:///FO.FLIGHTEVENTS.SYNC.ASCOMALERTS</Dst>&ltTms&gt1163526591828</Tms>&ltDlv&gt2</Dlv></jms> <?xml version="1.0" encoding="UTF-8"?>
------------------

These RFH headers can be removed by appending the string "?targetClient=1" at the end of the queue name. The queue name in input tab of the queue sender will look like below. Please do note the MQ series side also the settings need to be done to supress RFH headers when it receives ?targetClient=1

"queue:///QUEUE_NAME?targetClient=1"

Here are couple of more links from internet about RFH headers and how to supress them. Here are the links.

http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_003_JMSAdapter_MQSeriesIntegration.pdf

http://forum.java.sun.com/thread.jspa?threadID=207563&messageID=3920317

KEYWORDS: RFH HEADERS MQ SERIES MQSERIES ?TARGETCLIENT=1 TARGETCLIENT

Issue/Introduction

How to get rid of RFH headers from messages sent from BW to MQ series?Why do we see some headers when a message is sent from BW to MQ series?