Topic
  • 4 replies
  • Latest Post - ‏2013-04-24T05:58:08Z by prithvik
prithvik
prithvik
6 Posts

Pinned topic MQHRF2 is coming instead of MQSTR

‏2013-04-17T06:58:46Z |

We are placing string message to queue which accepts only MQSTR as header. In mediation flow we are setting 

below property 

 

<map:propertyMap executionOrder="2">
    <map:set value="MQSTR">
      <map:output businessObjectVariableRef="ServiceMessageObject_1" property="headers/MQHeader/control/Format"/>
    </map:set>
  </map:propertyMap> 

And it is working fine when invocation is from UI. But for Batch , header is going as MQHRF2. After controlling the header also , it is still going as MQHRF2 when invocation is from Batch where other queues also involved. Any suggestion on how to procees on this problem ?

  • fjb_saper
    fjb_saper
    196 Posts

    Re: MQHRF2 is coming instead of MQSTR

    ‏2013-04-19T16:02:10Z  

    What does the context property say?

  • prithvik
    prithvik
    6 Posts

    Re: MQHRF2 is coming instead of MQSTR

    ‏2013-04-22T12:33:12Z  
    • fjb_saper
    • ‏2013-04-19T16:02:10Z

    What does the context property say?

    For MQImport adding below property , the issue is not coming. Thanks for your reply.

    <esbBinding xsi:type="MQ:MQImportBinding" contextPropagationEnabled="false">

  • Morag Hughson
    Morag Hughson
    140 Posts

    Re: MQHRF2 is coming instead of MQSTR

    ‏2013-04-23T13:23:08Z  

    You could alter the queue definition to ensure the batch application never receives an MQRFH2. PROPCTL is the attribute.

    Cheers
    Morag
     

  • prithvik
    prithvik
    6 Posts

    Re: MQHRF2 is coming instead of MQSTR

    ‏2013-04-24T05:58:08Z  

    You could alter the queue definition to ensure the batch application never receives an MQRFH2. PROPCTL is the attribute.

    Cheers
    Morag
     

    Thanks for your reply. We don't have control on Queues , those are external queues. Any way adding contextPropagationEnabled="false"> this property to Import solved the issue. Thanks for your input.