Hi all,
I'm in the process of switching from directly using amqplib to kombu.
I am doing this so that I can use the in-memory implementation to unit-
test. However, I have discovered that even the first example from the
Quick Overview (
http://kombu.readthedocs.org/en/latest/
introduction.html#quick-overview) does not work as expected for the in-
memory transport. If one instantiates the connection as
BrokerConnection(transport='memory'), no message is printed. I have
confirmed that the very same code does work with an actual rabbitmq
server.
From what I can tell from reading the unit tests for the in-memory
transport, the queue to be used must actually be bound and declared
prior to creating the Producer instance. I do not know the guts of
kombu enough to explain this.
Any tips? Thanks in advance!
- Kenn