[rabbitmq-discuss] publish/suscribe model with typed consumers
Steven Taylor
taylste at gmail.com
Thu Jul 21 05:12:58 BST 2011
will you be extending this functionality to the .net client? Is it there
already? btw: I'm fielding a question from the wider community on this for
a c# client. Personally, it's something I've needed in the past, but not
something I need right now.
My reading of the spec was it is possible (confirmed by this thread), but of
the Subscriber class source code in .net is no, it is only set up for one
queue.
thanks,
-Steven
On 10 June 2011 12:00, Matthias Radestock <matthias at rabbitmq.com> wrote:
> Pierre-Marie,
>
>
> On 10/06/11 11:15, PADIOU Pierre-Marie (MORPHO) wrote:
>
>> For now, the only solution I see would be to create as many queues as
>> requests
>> types (queueA, queueB, etc), and make consumer listen to the appropriate
>> queues.
>>
>> Thing is:
>>
>> - this implies that consumers create as many threads as queues there are
>> listening from (more than a hundred in my case), which I would like to
>> avoid.
>>
>
> Which client are you using? Java? If so, a single consumer thread can
> happily consume from multiple queues. E.g. you can pass a single
> QueuingConsumer instance to multiple ch.basicConsume(...) invocations.
>
>
> Regards,
>
> Matthias.
>
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110721/320b7cca/attachment.htm>
More information about the rabbitmq-discuss
mailing list