[rabbitmq-discuss] Declaring bindings by an app that is not the consumer

Jacob Gyllenstierna jacob at cookiejunkie.com
Fri Oct 5 19:03:56 BST 2012


Thanks Emile. Will give that a try.

Btw, do you know why your reply doesn't show up on the web?


On Fri, Oct 5, 2012 at 2:39 AM, Emile Joubert <emile at rabbitmq.com> wrote:

> Hi,
>
> On 05/10/12 02:15, jgyllen wrote:
> > Or I'm wondering if the broker could do it, and if so, are
> > there any drawbacks?
>
> Nothing is set in stone about who must manage bindings. If you have a
> dedicated service separate from consumers that knows how to configure
> bindings then allow it to  take that responsibility.
>
> Bear in mind that it is not possible to perform an unbind and a bind
> atomically, regardless of who manages the bindings. "Moving" a label
> might introduce to the tiny risk of messages being delivered to multiple
> queues or not being routed to any queue, depending on the order of the
> bind and unbind. The latter case can be detected if the publisher uses
> the mandatory flag:
>
> http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.publish.mandatory
>
> -Emile
>
>
>


-- 
Jacob Gyllenstierna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121005/25655916/attachment.htm>


More information about the rabbitmq-discuss mailing list