web stats
Characteristic of a 'broken' message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 09-29-2011, 01:21 PM
Jon Blanchard Jon Blanchard is offline
OBX.1 Kenobi
Join Date: Mar 2011
Posts: 38
Jon Blanchard is on a distinguished road
Default Characteristic of a 'broken' message

I and my co-workers have encountered numerous instances where messages get queued up continuously. If we search the log file before it is taken out of service, there will be an error message indicating that a specific message file is broken. Once that broken message is deleted, the rest of the queued messages will flow.

If it is too late to identify the broken message file, then the only recourse that I can think of is to clone the channel and put it into service. This leaves a bunch of data that needs to be resent in the disabled channel...

So how do I identify the broken message in the queue folder?

Reply With Quote
Old 09-29-2011, 11:57 PM
albertosaez albertosaez is offline
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point

Usually by the length. Broken queued messages has a lenght of "0"

...But it's extremaly rare than mirth generates broken messages. Unter what circunstancers are they produced?
Reply With Quote
Old 09-30-2011, 06:32 AM
Bostad Bostad is offline
Level 85 Channel Wizard
Join Date: Mar 2009
Location: Stratford Ontario
Posts: 712
Bostad is an unknown quantity at this point

All depends on your definition of "broken" I suppose. You can code filters to check messages as they pass through and prevent them from going to the destination, but the simplest fix is to turn on "rotate messages in queue".
This way if one doesn't get acked, Mirth will move on to the next and come back to the affected message later.
You could also ask the administrators of the receiving system to NAK....but there are some people whom, for whatever reason can't, or won't do this.
I can be reached through gmail and Google Talk using davidrothbauer at gmail dot com

Test all my code suggestions prior to implementation
Reply With Quote

broken, message, queue

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 11:54 AM.

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