web stats
No storage = no response - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2019, 02:00 AM
Stefans Stefans is offline
What's HL7?
 
Join Date: Jan 2016
Posts: 5
Stefans is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 01-11-2019, 11:01 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 759
agermano is on a distinguished road
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:34 PM.


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