<div dir="ltr"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Case a) CheckLatency=Y and MaxLatency=120.</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">If it takes more than 120 seconds to process a message then session will be disconnected. So for 10 messages (subject to max 120 seconds for each) I have 1200 seconds time to process?</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div></div></blockquote><font color="#000000"><span class="gmail_default" style="font-size:small;color:rgb(0,0,0)">No.  For any given message, you have until (that message's SendingTime+120) to handle it.  It doesn't matter how many messages are in the queue before it.</span></font><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span></span></div></div></div></div><div><font color="#000000"><span class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></span></font></div>Thus, it is important that all user callbacks return quickly.  Operations that take non-trivial amounts of time should be deferred to worker thread.<br><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px">Case b) CheckLatency=N, it doesn't matter how long I take to process 1 message and it will never disconnect.<br><br></blockquote><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Correct.  But such latency could ause other unexpected side effects, depending on the system.  But that's the risk you take.</div><br></div>

<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span>