Hi,<div><br></div><div>The queue doesnot duplicate the message, the application happens to post it as it is unable to determine what is in the queue.</div><div><br></div><div>To avoid duplicates one way is to expire out the messages in the queue after certain period of time, anyway to configure it.</div>

<div>Currently I am checking it at the application level.</div><div><br clear="all">----<br>Regards,<br>Akhil Kodali<br><br>
<br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 2:34 PM, Tony Garnock-Jones <span dir="ltr">&lt;<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">akhil wrote:<br>
&gt; I have noticed that a few messages spend way too much in the queue,<br>
&gt; due to which duplicate reposting of message occurs.<br>
<br>
</div>Hmm. The only way that could happen is either if no-one is listening to<br>
that queue, or if whoever receives the message for some reason fails to<br>
acknowledge it before disconnecting. What could be causing that, in your<br>
application?<br>
<div class="im"><br>
&gt; Is there any way to track the life cycle of a message in the queue.<br>
&gt; For eg how much time the message has spent in the queue.<br>
<br>
</div>I&#39;m afraid there&#39;s nothing like that at present.<br>
<br>
Regards,<br>
<font color="#888888"> �Tony<br>
<br>
</font></blockquote></div><br></div>