web stats
Workaround for acks that don't match message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2010, 01:02 PM
ColinSJ ColinSJ is offline
OBX.1 Kenobi
 
Join Date: Apr 2009
Posts: 32
ColinSJ is on a distinguished road
Default Workaround for acks that don't match message

I'm looking for a way to programmatically (perhaps in the pre-processor) clear any acks that have been sent to my destination's connection, so they don't get matched to the message I'm about to send.

I'm attempting to create a workaround for an issue I reported yesterday. If an ack is returned after the ack timeout period has expired, it will be matched to the next message queued (since there are multiple senders, the timed-out message is not necessarily the next message queued). The issue then compounds, as each subsequent message is matched to the ack of the message that preceded it, and eventually, there's the potential that a message won't actually be acked, but it will have been matched with an ack and thus regarded as delivered.

I intend to use the postprocessor to examine the contents of the ack, and verify that it is indeed the correct one. If it is, then I can use a custom ack to reply to the sender. If it isn't, then I can allow the sender to timeout.

However, this doesn't entirely solve the problem, as the acks may perpetually be incorrect. Thus - I need to erase any queued acks.
Reply With Quote
Reply

Tags
ack, postprocessor, preprocessor

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


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