web stats
Mirth Community - View Single Post - Using Correct Java Sytax in Mirth via Javascript
View Single Post
  #2  
Old 05-06-2015, 02:57 AM
arpitgoel arpitgoel is offline
Mirth Newb
 
Join Date: Apr 2015
Posts: 8
arpitgoel is on a distinguished road
Default

Please follow the below link for using java code in mirth
http://www.mirthcorp.com/community/w...ode+from+Mirth

You need to copy your custom library jar file in mirthconnect/custom-lib folder and then you can create an object of a class :

Code:
var object = new Packages.org.example.Class1();
var object2 = new Packages.org.example.Class1(<param>);
Reply With Quote