| || |
LR & MQ: Extra Header Tags in Message
First time using Webservices Protocol to connect to MQ. I can currently post information to my Queue, but I'm getting extra tags with the message body (see below). Should these be expected? or should they be removed? If so - how do I remove them. they're not in the LR script, and I'm guessing it is due to the JMS command calls.
Any thoughts would be greatly appreciated.
(anonymous information below)
The 'evil' extra data is in <font color="red">red.</font>
<font color="red"><mcd><Msd>jms_text</Msd></mcd> \<jms><Dst>queue://XXXXXX2/XXX.YYYY.XXXX.QL</Dst><Tms>1251232376500</Tms><Dlv>2</Dlv></jms></font>
<?xml version='1.0' encoding='UTF-8'?>
Re: LR & MQ: Extra Header Tags in Message
I found the solution. so I'm putting it here to assist anyone else in the future:
I’ve finally found a thread on the subject.
“The issue lies the fact that the JMS uses RFH2 headers, where MQ uses RFH1 headers. So if the message from JMS application without specifying TARGCLIENT to be MQ the message will have RFH2 headers and MQ applications wouldn't know what to do with it.
use this parameter :
and JMS will not use it's headers”