Datapower: url-open with custom MQ Headers

If you are trying to use datapower’s url-open command to an MQ destination and need to set the MQMD header, you must follow the information contained in the following post:

http://www.ibm.com/developerworks/forums/message.jspa?messageID=14542843#14542843

Basically, the final xslt document that needs to be sent as part of the http-headers is:

<xsl:variable name="newSerializedMQMD">
<header name="MQMD"></strong>
<xsl:value-of select="$mqmdSer" />
</header></strong>
</xsl:variable>

Where $mqmdSer is <MQMD><MsgId>23234</MsgId> etc</MQMD>

If you don’t have your new MQMD wrapped in a <header name="MQMD"> tag then datapower isn’t able to parse it.

Author: dan

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *