Topic
  • 1 reply
  • Latest Post - ‏2014-06-10T12:23:00Z by Daviiid
Daviiid
Daviiid
351 Posts

Pinned topic MQ Get with Convert Option

‏2014-06-10T11:54:45Z |

hi

I get a message in a MQ Queue. The convert option is turn to on (with 923 on the CCSID) on the MQ Queue Manager option. 

I use a dp:url-open to get a message with response binaryNode.

<dp:url-open http-headers="$headers" target="{'dpmq://QM_INTRA/?ReplyQueue=TEST'}" response="binaryNode"/>

Is there a way to override the no convert option specified on the queue manager option ?

Is there a option to force the no convert option ?

Updated on 2014-06-10T12:13:32Z at 2014-06-10T12:13:32Z by Daviiid
  • Daviiid
    Daviiid
    351 Posts

    Re: MQ Get with Convert Option

    ‏2014-06-10T12:23:00Z  

    The solution is the specified the CCID is the header option

     

    <xsl:variable name="mqmd">
    <MQMD>
    <CodedCharSetId>1208</CodedCharSetId>
    </MQMD>
    </xsl:variable>
    <xsl:variable name="headers">
    <header name="X-MQMD-GET">
    <dp:serialize select="$mqmd" omit-xml-decl="yes"/>
    </header>
    </xsl:variable>