[rabbitmq-discuss] Best practice for naming consumer tag

cw storm cwstorm at gmail.com
Wed Feb 12 15:50:35 GMT 2014


It has to be unique on the same channel, right?


On Wed, Feb 12, 2014 at 10:43 AM, Michael Klishin <mklishin at gopivotal.com>wrote:

> On 12 Feb 2014, at 19:23, cw storm <cwstorm at gmail.com> wrote:
>
> > We were thinking of naming a consumer tag that's meaningful to us.  Just
> checking the community if that's best practice or not.
>
> As long as you make sure the names are unique, that's fine. Note that you
> can pass an empty string
> and RabbitMQ will generate a consumer tag for you (will be returned on
> basic.consume-ok). It won't
> be meaningful but will be guaranteed to be unique.
>
> MK
>
> Software Engineer, Pivotal/RabbitMQ
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> 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/20140212/f3999889/attachment.html>


More information about the rabbitmq-discuss mailing list