<div dir="ltr">Thanks Michael,<div><br></div><div>But i don't want my queue to be altered, or even created if it is not present. As Alan was suggesting, that's why we were planning to use passive.</div><div><br></div>

<div>Regards</div><div>Raj</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 11:11 PM, michaelklishin [via RabbitMQ] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=32084&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>

<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/12/13 kingsmasher1 <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=32083&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span><div class="im">

<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">

ohh..ok, so just in order to grab the number of messages present, at any specific instance i can call the queue.declare anytime and pass the passive parameter.</blockquote></div></div><br><div class="im">You don't even need to set passive to true, just use the same attributes or you will get 406 Precondition Failed</div>

</div><div class="im">

<div class="gmail_extra">back.<br><br clear="all"><div><br></div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" rel="nofollow" link="external" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" rel="nofollow" link="external" target="_blank">http://twitter.com/michaelklishin</a><br>




</div></div></div><div class="im">
<br>_______________________________________________
<br>rabbitmq-discuss mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=32083&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" rel="nofollow" link="external" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://rabbitmq.1065348.n5.nabble.com/Why-is-the-select-always-getting-timed-out-in-consumer-tp32046p32083.html" target="_blank" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/Why-is-the-select-always-getting-timed-out-in-consumer-tp32046p32083.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Why is the "select" always getting timed out in consumer?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>


                <a href="http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/Why-is-the-select-always-getting-timed-out-in-consumer-tp32046p32084.html">Re: Why is the "select" always getting timed out in consumer?</a><br/>
Sent from the <a href="http://rabbitmq.1065348.n5.nabble.com/">RabbitMQ mailing list archive</a> at Nabble.com.<br/>