[rabbitmq-discuss] Unable to store messages into queue

David Wragg david at rabbitmq.com
Tue Dec 14 09:48:15 GMT 2010


Dinh <pcdinh at gmail.com> writes:
> [...]
> channel.queue_declare(queue='feeds', durable=True)
> [...]
> channel.basic_publish(exchange='feeds', routing_key='feeds',
> [...]

The exchange name should be the empty string '', as in your earlier code
and the example at <http://www.rabbitmq.com/tutorial-one-python.html>.
Only the routing key should contain the queue name.

for an explanation of AMQP exchange types, and how the nameless exchange
fits in.


David Wragg
Staff Engineer, RabbitMQ
SpringSource, a division of VMware

More information about the rabbitmq-discuss mailing list