[rabbitmq-discuss] Pika and multi-threading

Denis Conan Denis.Conan at telecom-sudparis.eu
Wed Feb 23 15:55:15 GMT 2011


Le 23/02/2011 16:37, Gavin M. Roy a écrit :
>
> 2011/2/23 Denis Conan <Denis.Conan at telecom-sudparis.eu
> <mailto:Denis.Conan at telecom-sudparis.eu>>
>
>     Le 23/02/2011 16:28, Gavin M. Roy a écrit :
>
>         The one for the treatment of delivered messages that was
>         registered in a basic_consume.
>
>
> Not sure of the use case for that, does channel.basic_cancel() not do
> what you want?
>
>
> def basic_cancel(self, consumer_tag, nowait=False, callback=None):

I don't think so. It is for a local un-registration.

>
>
> Pass in the consumer tag to cancel a basic_consume request with. The
>
>
> consumer_tag is optionally passed to basic_consume as a parameter and
>
>
> it is always returned by the Basic.ConsumeOk frame. For more
>
>
> information see:
>
>
>
> http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.cancel



-- 
Denis Conan
Institut Télécom, Télécom SudParis
http://www-public.telecom-sudparis.eu/~conan


More information about the rabbitmq-discuss mailing list