<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry, I missed that important piece. :) &nbsp;Works great!<div><br class="webkit-block-placeholder"></div><div>Thx</div><div><br class="webkit-block-placeholder"></div><div>-matt</div><div><br><div><div>On Nov 5, 2007, at 3:22 PM, Matthias Radestock wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Matt,<br><br><br>matt wrote:<br><blockquote type="cite">Getting the message count only appears to get updated when you declare the queue. &nbsp;What if you wanted to poll the queue and see how many messages were on it every 15 seconds or so?<br></blockquote><br>queue.declare has a passive mode of operation where it doesn't actually create a new queue. That's what I was referring to when I wrote that "in combination with queue.declare's passive flag it allows you to determine the length of existing queues".<br><br><br>Matthias.<br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><font color="gray" face="Arial" size="2"><span><br class="Apple-interchange-newline">--</span></font><br><a href="http://www.meez.com/"><img src="http://images.meez.com/user05/04/04_10001605581.gif" width="175" height="233" alt="meez" align="left" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; "></a><font color="gray" face="Arial" size="2"><span>Matt Darling</span></font><br><font color="gray" face="Arial" size="2"><span>Director, Server Engineering</span></font></div><div><font color="gray" face="Arial" size="2"><span>Meez</span></font><br><font color="gray" face="Arial" size="2"><span>182 2nd Street</span></font><font color="gray" face="Arial" size="2"><span>, 5th Floor</span></font><br><font color="gray" face="Arial" size="2"><span>San Francisco</span></font><font color="gray" face="Arial" size="2"><span>, CA 94105</span></font><br><font color="gray" face="Arial" size="2"><span>(m) 415.505.4623</span></font><br><font color="gray" face="Arial" size="2"><span><a href="mailto:matt@corp.meez.com" target="_blank">matt@corp.meez.com</a></span></font><br></div><br></span><br class="Apple-interchange-newline"> </div><br></div></body></html>