[rabbitmq-discuss] Why is the "select" always getting timed out in consumer?
raj.kumar.sanpui at gmail.com
Fri Dec 13 17:21:46 GMT 2013
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
But considering the cons, the amqp_consume_message sounds better. But this,
is a good thing we can try and see for an experimental purpose.
We are using 2.8.7 rabbitmq which does not seem, to have the
amqp_consume_message, seems like it's a recent addition to your library.
Seems like it's time for us to upgrade :-)
On Fri, Dec 13, 2013 at 10:36 PM, Alan Antonuk [via RabbitMQ] <
ml-node+s1065348n32081h99 at n5.nabble.com> wrote:
> Assuming you pass in the same parameters; calling declare.queue on a queue
> a second time will not have any effect. If you don't want to create the
> queue on the broker if it doesn't exist - you can use the 'passive' flag,
> which will prevent the queue from being created in the event the queue
> doesn't already exist on the broker.
> On Fri, Dec 13, 2013 at 8:53 AM, kingsmasher1 <[hidden email]<http://user/SendEmail.jtp?type=node&node=32081&i=0>
> > wrote:
>> Sorry, for being unclear, the purpose of writing my first paragraph was,
>> can't use queue.declare, since in the real app, the queue will already be
>> View this message in context:
>> Sent from the RabbitMQ mailing list archive at Nabble.com.
>> rabbitmq-discuss mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=32081&i=1>
> rabbitmq-discuss mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=32081&i=2>
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from Why is the "select" always getting timed out in
> consumer?, click here<http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=32046&code=cmFqLmt1bWFyLnNhbnB1aUBnbWFpbC5jb218MzIwNDZ8MTUwNTg3MDEzOA==>
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Why-is-the-select-always-getting-timed-out-in-consumer-tp32046p32082.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss