[rabbitmq-discuss] consume messages from exchanges
majek04 at gmail.com
Tue Nov 16 11:57:41 GMT 2010
On Tue, Nov 16, 2010 at 11:46, Adam Kaminiecki <adamka at dgt.com.pl> wrote:
> Thanks for reply and nice tutorial.
> Can anybody explain me some variables:
Checks if queue exists.
(passes if the queue does exist, fails when the queue doesn't exist.)
"Exclusive queues may only be accessed by the current connection, and
are deleted when that connection closes. Passive declaration of an
exclusive queue by other connections are not allowed. "
Async version of queue-declare. The server won't reply with
queue-declare-ok. Rarely useful.
> W dniu 2010-11-15 20:25, Marek Majkowski pisze:
>> On Mon, Nov 15, 2010 at 11:43, Adam Kaminiecki<adamka at dgt.com.pl> wrote:
>>> I have got few questions about consumming practises.
>>> Which is better, create new consumer for each queues and exchanges when
>>> binding or Can I use 1 consumer?
>> You can't create 'a consumer for an exchange'.
>> Except from that, that's pretty common question. It all depends on your
>> design. Often you can have a single queue with one consumer
>> and a whole bunch of exchanges and bindings. The other time
>> it might be better to have a single exchange and many queues.
>> That's the whole point of AMQP, you can create topology as you need it.
>> So start with something simple, that you feel comfortable with.
>>> How can I change consumer name which is displayed when using
>>> -q list_consumers? Is it possible??
>>> Can I use 1 consumer queue to bind it to more than 1 exchange?
>> Yes, a queue can have multiple bindings.
>> BTW, have you seen our tutorials?
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss