Mirth Connect 4.3.0 Released!

Mirth Connect 4.3.0 is now available as an appliance update and on our GitHub page.

This is a major release containing new features like adding new functionality to the Mirth Connect Setup Wizard, adding the ability for resource and channel-specific classloaders to load child-first or parent-first, and added a default implementation of the getObjectsForSwaggerExamples() method in the ServicePlugin class. This release also contains enhancements for the Mirth Connect Administrator Launcher, the Mirth Connect Docker images, and several bug fixes and security improvements.

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

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

FileReader and flag file

  • Filter
  • Time
  • Show
Clear All
new posts

  • FileReader and flag file

    Hi again,

    I've used a FileReader and here's my question:

    How to prevent Mirth from reading incomplete file during a concurrent "my SW write" and "Mirth read" on filesystem?

    It is possible to have Mirth looking for a flag file and then reading a message file.
    So "my SW" can freely write message file and then the flag file.

    Obviously mirth shold then move / delete both file.

    Actually seems not to be possible.

    Stefano Mastrogiacomo

  • #2
    Re:FileReader and flag file

    A FILE LOCKING scheme can be used. "my SW write" will need to request and obtain an exclusive lock before they write, and release the lock after writing to the file.

    The following article has good info on File Locking:

    Mirth only reads the files that are not locked. I have tested Mirth with 10,000+ message files being written out at about 45 messages/minute. If the host HL7 system handles file locking correctly Mirth works fine.

    Hope it helps!