[rabbitmq-discuss] Channel Cost
Jason J. W. Williams
jasonjwwilliams at gmail.com
Wed Jan 28 00:11:29 GMT 2009
Hey Barry,
>
> Would it make more sense to do an exchange_declare() with passive=True to
> check for the existence of the exchange you're going to publish to? The
I thought about declaring the exchange in the producer, but again that
would be only an instantiation check. Since the class instance is long
lasting, it's not something I would want to do with every
basic_publish, so if by some method the exchange were to disappear
after object instantiation, the app still wouldn't know until the
object (and app) were torn down.
-J
More information about the rabbitmq-discuss
mailing list