This blog is about why PDF is complicated in Mirth? and How we can Split PDF in Mirth?. Splitting of PDF, PDF parsing is complicated in Mirth because of the libraries used to perform few actions in it. Basically, in JAVA if
Read More
Create a source as File Reader. put the zip file directory to read and make sure you enable read as binary radio button. as shown below Now, the logic is that the .zip file will be read via mirth engine and the
Read More
This code will consist of the data needed for Mirth channel (B) in the server 2. Basically, this channel will be reading the JSON message, decode the incoming encoded message, then automatically import those channel and then deploy it. This channel will
Read More
This is a weird experiment. Just in-case we want to automate the exporting/importing of channels in mirth, then this feature will be very helpful. The user will be giving the ID’s of the channel group which needs to be exported to one
Read More
This is a hypothetical scenario: Imagine a situation where you have developed all the channels required to build the interfaces, now you are going to move your channels to the production or any beta testing environment. In this scenario you would want
Read More
This blog provides the code with javascript function that will fetch all the system specification of the system upon which mirth is installed. This function does not require any input parameter, it will fetch all the statistics of the system in complete
Read More
In this post, I’m creating the code templates that will do one stop solution for all problems that we face in mirth while doing the File based IO operation. Imagine a case where you need to move the file from one directory
Read More
AWS-With-Mirth
var zipFile = “c:\\test.zip”; var sourceFiles= new Array(${arrayOfFileNames}); try { var buffer = java.lang.reflect.Array.newInstance(java.lang.Byte.TYPE, 5000); var fileOutput = new java.io.FileOutputStream(zipFile); var zos = new java.util.zip.ZipOutputStream(fileOutput); for (i = 0; i < sourceFiles.length; i++) { var srcFile = new java.io.File(sourceFiles[i]); var fis =
Read More
Imagine that we are sending certain data to external sources and we are getting response from those source. Now the received response has to be parsed inside the response tab. APPROACH 1: Imagine we are receiving an HTML response like this as
Read More
Recent Comments