Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   No storage = no response (http://www.mirthcorp.com/community/forums/showthread.php?t=218863)

Stefans 01-11-2019 02:00 AM

No storage = no response
 
Since message storage impacts the performance of a message, we are experimenting with the message storage options.

Currently, we have the following setup (Mirth Connect 3.4.2):
Channel 1: HTTP Listener
Channel 2: Channel Reader

Channel 1 get's called, forwards the content to channel 2 through javascript.
Channel 2 contains some logic and returns an object (set as response in the source tab).
Channel 1 retrieves the object with the getMessage(); function.

This obviously works, but when we lower the message storage for channel 2, getMessage(); can't be called, instead we receive an error because the response of channel 2 is null / undefined.

Should we use attachments instead? Or are there any other options?

Also I think it might be a good idea to be able to set a custom logging profile.
This way the user can decide which messages to store (e.g. only response & raw).

Kind regards,
Stefan

agermano 01-11-2019 11:01 AM

Can you post your actual channels that aren't working? I just created a similar setup, and it works for me even when channel 2 has the storage completely disabled.

Are you sure it's working when channel 2 has it's storage set higher? The storage settings of channel 2 shouldn't factor into whether or not channel 1 can read the response.


All times are GMT -8. The time now is 07:10 PM.

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