[rabbitmq-discuss] pika.channel.basic_consume

Gavin M. Roy gmr at myyearbook.com
Thu Jan 27 21:37:06 GMT 2011

On Thu, Jan 27, 2011 at 4:36 PM, Gavin M. Roy <gmr at myyearbook.com> wrote:
> On Thu, Jan 27, 2011 at 2:52 PM, Marcin Krol <mrkafk at gmail.com> wrote:
>> Can channel.basic_consume handle more than 1 callback?
> It can't right now, but I am working on the next version and would
> consider adding it for good reason. Is there a reason you want to do
> this? I could see from a not delivering the same message twice but you
> could just use a fanout exchange and bind both consumers to this.

Alternatively you could just make the callback a function of your own
and have it call your two functions with the content.

More information about the rabbitmq-discuss mailing list