Announcement

Collapse

NextGen (Mirth) Connect 3.11.0 Released!

NextGen (Mirth) Connect 3.11.0 is now available as an appliance update and on our GitHub page. This release contains improvements to licensing and the NCPDP data type. It also includes various security fixes, general bug fixes, and improvements to commercial extensions. See the release notes for the complete list of fixes and 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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • nshaik
    replied
    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:
    http://www.wellho.net/solutions/gene...e-locking.html

    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!

    Leave a comment:


  • smastrogiacomo
    started a topic FileReader and flag file

    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.

    Thanks
    Stefano.
Working...
X