Announcement

Collapse

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

Read MongoDB by JavaScript reader

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

  • Read MongoDB by JavaScript reader

    I am trying to create a channel in Mirth to send MongoDB documents outbound to a destination. The goal is to be able to send a document as soon as it is created in the collection and send it only once, when it is created or updated. I am struggling with this. Is JavaScript reader the right choice for this? How can I poll the collection for new documents or document changes with JavaScript reader Connector? I am completely new to MongoDB. It looks like I need a trigger in MongoDB rather then using the approach I am exploring.

  • #2
    Firstly, there is no native data source for mongo in Mirth.

    A JS reader would work as would a db reader, but you need to modify mirth server config files to support mongo jdbc.

    An alternative is to use something like RestHeart to add REST capability to mongodb, and call http endpoints to get data.
    Diridium Technologies, Inc.
    https://diridium.com

    Comment

    Working...
    X