[rabbitmq-discuss] federation plugin: x-federation exchange declaring

Francesco Mazzoli francesco at rabbitmq.com
Mon Sep 17 12:05:32 BST 2012

At Mon, 17 Sep 2012 14:56:17 +0400,
Matwey V.  Kornilov wrote:
> My python clients fail at "B" with the following error:
> pika.exceptions.AMQPChannelError: (406, "PRECONDITION_FAILED - cannot
> redeclare exchange 'my-exchange' in vhost '/' with different type, durable,
> internal or autodelete value")

The problem here is that you're trying to redeclare an exchange already declared
by federation, but with different arguments.  If you take care in using the same
arguments when declaring it, it won't fail.

Francesco * Often in error, never in doubt

More information about the rabbitmq-discuss mailing list