web stats
How to skip a bad message? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-07-2018, 01:49 PM
rkMC rkMC is offline
OBX.1 Kenobi
 
Join Date: May 2017
Posts: 42
rkMC is on a distinguished road
Default How to skip a bad message?

I do not have a sample of this issue, just trying to get in front of the situation if possible.

Scenario: If a message comes into a channel and has something wrong that caused the channel to be stopped or paused. Then all other messages behind that bad message are queuing up. How do you deal with the bad message to allow the others to continue flowing?

In other interface engines, there is a means to skip the message so others can flow, and you can deal with the bad message offline and fix it and resubmit it if possible. Or just delete it if no longer valid.

Any ideas in NextGen Connect (formerly Mirth Connect)?
Reply With Quote
  #2  
Old 06-08-2018, 12:45 AM
siddharth siddharth is online now
Mirth Guru
 
Join Date: Feb 2013
Posts: 808
siddharth is on a distinguished road
Default

If you know what's causing the message to fail, you can remove/fix it in preprocesor.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 06-08-2018, 05:05 AM
rkMC rkMC is offline
OBX.1 Kenobi
 
Join Date: May 2017
Posts: 42
rkMC is on a distinguished road
Default

That makes sense to correct the issue, but that can take time to figure out and to code the correction.

In the meantime, the queue is filling up either in Mirth or in the source system, depending where the stop happens on the channel.

How can this message be bypassed, set aside, skipped, in order for the messages behind it to keep flowing?
Reply With Quote
  #4  
Old 06-08-2018, 05:47 AM
siddharth siddharth is online now
Mirth Guru
 
Join Date: Feb 2013
Posts: 808
siddharth is on a distinguished road
Default

What are your source settings, do you have queue enabled on it. If yes, then disable it. Let the message go to error state.

On the sender side, the queue is building because the sender has setup to recieve an ACK before the next one can be delivered.
You channel (mirth) is either not sending an ACK, most likely the error is a processing error at source. OR it is sending a NACK. In both the cases, the sender is being affected because of the setting on their end. Ask them to turn it off for the moment, until the issue is fixed.


TO isolate the bad character -

Look in the channel message browser, if there is anything peculiar about this message. Invalid characters show up as either boxes or a question mark inside the message browser Or copy the message onto notepad++ with show all characters enabled. It would show up. Then take the message to HexEd.it, record the invalid character and apply the replacement script.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #5  
Old 06-08-2018, 06:32 AM
rkMC rkMC is offline
OBX.1 Kenobi
 
Join Date: May 2017
Posts: 42
rkMC is on a distinguished road
Default

That makes sense. Thanks for the input siddharth.
Reply With Quote
Reply

Tags
skip bad message

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:13 AM.


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