[rabbitmq-discuss] New to AMQP - Who Declares Exchange

Ben Hood 0x6e6562 at gmail.com
Wed Sep 3 01:46:38 BST 2008

On Wed, Sep 3, 2008 at 1:35 AM, bradford <fingermark at gmail.com> wrote:
> Yes it does.  Thank you.  So, then it makes sense for both the
> publisher and consumer to both declare the exchange.

Semantically yes. But don't be too dogmatic about it in every scenrio,
if your application knows for sure that a particular queue or exchange
definitely does exist, it can save a lookup for the existence of that
object. Just an efficiency consideration. But don't optimize
prematurely :-)

More information about the rabbitmq-discuss mailing list