[rabbitmq-discuss] consume messages from exchanges
Marek Majkowski
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:
> passive
Checks if queue exists.
(passes if the queue does exist, fails when the queue doesn't exist.)
> exclusive
Spec says:
"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. "
> nowait
Async version of queue-declare. The server won't reply with
queue-declare-ok. Rarely useful.
>
>
> Regards,
> Adam
>
>
> 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:
>>>
>>> Hi,
>>> 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
>>> rabbimqctl
>>> -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?
>>
>>
>> https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/python/tutorial-one.md
>>
>> Cheers,
>> Marek
>>
>
> --
> 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
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list