Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   Mirth 3.0 API's for retreiving messages for a time range (http://www.mirthcorp.com/community/forums/showthread.php?t=9324)

asrikantan 09-23-2013 06:00 AM

Mirth 3.0 API's for retreiving messages for a time range
 
Hi,
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?

narupley 09-23-2013 10:11 AM

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.


All times are GMT -8. The time now is 04:08 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation