Set values into JMS Header from Mirth Connect? -


i using mirth connect 3.3 , having issue while setting value jms header mirth connect transformer. setting value like:

var map = packages.org.mule.impl.requestcontext.geteventcontext().getproperties(); map.put('key','value'); 

but getting error:

typeerror: cannot call property getproperties in object [javapackage org.mule.impl.requestcontext]. not function, "object". @ 22f9d2db-a1f5-4e4e-99f9-78e93d3b6135:57 (dotransform) @ 22f9d2db-a1f5-4e4e-99f9-78e93d3b6135:85 (doscript) @ 22f9d2db-a1f5-4e4e-99f9-78e93d3b6135:87 @ com.mirth.connect.server.transformers.javascriptfi ltertransformer$filtertransformertask.call(javascr iptfiltertransformer.java:154) @ com.mirth.connect.server.transformers.javascriptfi ltertransformer$filtertransformertask.call(javascr iptfiltertransformer.java:119) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor.runworker( unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run (unknown source) @ java.lang.thread.run(unknown source) 

is there other way set values jms header can on sonic message?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -