Posted: Sun May 18, 2014 3:08 pm Post subject: JMSReplyTo field is not populating
Apprentice
Joined: 27 Jun 2008 Posts: 35
Hello,
I am having a problem when I am trying to populate JMSReplyTo under JMSTransport header. Environment is Message broker version 7.0.0.5 on windows. JMS Provider is WebSphere MQ. Below are the application details -
Consumer -> A WMB flow with Soap Asynchronous request nodes. It uses SOAP over JMS. I want to re-use same SAOPAsyncRequest node for both of below providers.
Provider 1-> WMB Service using SOAP input and reply node. Use WS-Addressing for Reply.
Provider 2-> Java application. Uses JMSReplyTo field under JMSTransport to send reply back. Preserves all headers.
I have no issue communicating with Provider 1.
But consumer flow is not able to send JMSReplyTo field to Provider 2 though I am setting it through ESQL. Hence Provider 2 is failing to send a reply. We have stopped the Java Application(Provider 2) to check the queue. The message is missing the JMSReplyTo info.
Below are the ways I tried to send JMSReplyTo info into JMSTransport header-
1) SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'queue://MB7QMGR/JMSREQUESTQ'; -- Absolute queue and queue manager.
2) SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'jndi://req_queue'; -- JNDI name for the queue with prefix to say it is JNDI object name.
3) SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'req_queue'; --only JNDI name
All of the above populate the value, which I checked using trace and debugger. Still Provider 2 does not receive the JMSReplyTo field. Tried using FINALIZE NONE statement too. But no luck.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum