web stats
Send Time Out Alert - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 05-11-2017, 11:43 PM
paco449 paco449 is offline
What's HL7?
Join Date: Jan 2017
Posts: 5
paco449 is on a distinguished road
Default Send Time Out Alert


I'm developing a channel and I want to add an alert when I get a "Timeout waiting for response" error when I don't receibe the ACK response.

I don't know how can I get the error message (or status) in a variable to write my code. Can anybody help me?

Reply With Quote
Old 05-12-2017, 06:16 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

Add an alert, check "Destination Connector", and type in "Timeout" for the regex. Then enable it on the channel you want to monitor. Down below you can choose an action, like send an e-mail or dispatch a message to another channel. Drag in the "error" variable to include the entire stacktrace.
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.
Reply With Quote

ack, alert, alerts, response

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 10:05 AM.

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