AnsweredAssumed Answered

How to pull JMS Header Porperties in Quite Mode in Listen Step

Question asked by sdabbiru on Oct 27, 2017
Latest reply on Oct 26, 2018 by sdabbiru

Hi All,

 

I want to extract the custom JMS header property from the JMS request in a Scriptable DPH. When I get the request from the application, I have the transaction name under the "msg.prop.transactionname" property.

 

when I deploy the VSM by not enabling the quite option in the listen step, I could able to get the value by using the below 

testExec.getStateValue("lisa.jms.Recv.PropertyMap.TransactionName");

 

However, when I deploy the VSM with the quite mode enabled, this returns null. I even tried testExec.getStateValue("msg.props.TransactionName"); testExec.getStateValue("TransactionName");but no luck, I still get the value as null.

 

Is there a way I can access the msg header properties in quite mode in a scriptable DPH?

 

Thanks in advance!!

 

Regards,

Shivakumar.

Outcomes