Mirth Connect 4.1.0 Released!

Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Javascript/E4X interactive shell

  • Filter
  • Time
  • Show
Clear All
new posts

  • Javascript/E4X interactive shell

    If you're new to Javascript and E4X it may be useful to you to have an interactive Javascript shell to test your Mirth Javascript scripts:

    Using Firefox 1.5 you can start a shell from

    You can also start one from the command line (Tested on OSX):

    cd <Mirth Install Directory>/lib
    java -cp rhino-1.6r2.jar:«»xbean.jar:jsr173_1.0_api.jar
    What I usually do is take the XML transformed version of the message I am working on (get a copy from the a working channel) and assign it to a variable:

    var msg = <HL7Message><MSH> ;

    and then try out some loops and deletions of various parts of the message

    BTW: maybe this can be feature in Mirth in the future i.e., some sort of interactive Javascript scratchpad!

    - Jeremy

    Post edited by: rods, at: 08/24/2007 07:11

  • #2

    Do you know what the command line would be for Mirth Connect Server



    • #3
      Mirth uses Rhino: you can see how you can use it on command line and debug here -