rbeckman-nextgen / test-mc6

0 stars 0 forks source link

Allow dynamic control for message storage #2145

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

The message storage is controlled by a general property for each channel, that can be only changed by deploying the channel and it's the same for all messages.

In channels with big number of messages, it's not an option to save all of them. So, if you need to save only a few ones an alternative way is needed.

Imported Issue. Original Details: Jira Issue Key: MIRTH-2226 Reporter: albertosaez Created: 2012-09-30T15:38:07.000-0700

rbeckman-nextgen commented 4 years ago

With this patch, the message object controller will search in messages if the channel map property "mustBeStored", is set and valued as "true", then the message is stored anyway.

Imported Comment. Original Details: Author: albertosaez Created: 2012-09-30T15:41:44.000-0700

rbeckman-nextgen commented 4 years ago

Interesting idea. 3.0 no longer has the option to "not store filtered messages" or "only store errors", so that area needs improvements, but perhaps something like this could also be added.

Imported Comment. Original Details: Author: jacobb Created: 2013-10-16T13:41:14.000-0700

rbeckman-nextgen commented 4 years ago

There is also MIRTH-2964 that I created:

{quote}http://www.mirthcorp.com/community/forums/showthread.php?t=9375

Basically there are a few options here. One is, we could add some sort of "advanced" button to the storage settings, that opens up a dialog where the user can pick and choose exactly what to store and not store. Obviously based on what they choose, durable message delivery may be turned off, and source/destination queuing may be disabled. Also when the user makes a change like that, the storage slider would move to a non-tick location (determined approximately by what's been selected in the advanced settings) with the label "Custom".

Another option is to add advanced stuff to the "remove after completion" settings. That way, durability could still be there, and the user could still get rid of any FILTERED messages after the fact, so that they don't clutter up the message browser.{quote}

Imported Comment. Original Details: Author: narupley Created: 2013-10-16T13:45:09.000-0700