No announcement yet.

Mirth 3.0 API's for retreiving messages for a time range

  • Filter
  • Time
  • Show
Clear All
new posts

  • Mirth 3.0 API's for retreiving messages for a time range

    In mirth 3.0 the message table seems to be normalized. Each channel also now creates its own set of tables. For each channel, there are

    d_m (message table)
    d_mm (metadata table)
    d_mc (content table)
    d_mcm (custom metadata table)
    d_ma (attachment table)
    d_ms (statistics table)

    Is there any API to retrieve messages for a given time range?

  • #2
    Technically yes, you can look at DonkeyMessageController for such an API. However, it's important to note that since this is an internal class, the API is unsupported. That means that we could completely change that class in 3.1 (or even for the 3.0 GA), and we would not support any channel/script migration between versions. The only APIs we would support are those present in the now-hosted Javadocs.
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

    - How do I foo?
    - You just bar.