ask / django-kombu

MOVED TO KOMBU CORE: celery/kombu
http://github.com/celery/kombu
BSD 3-Clause "New" or "Revised" License
61 stars 9 forks source link

The "Quick overview" doc is misleading, resulting in "KeyError: 'ae.undeliver'" #7

Open ksamuel opened 13 years ago

ksamuel commented 13 years ago

In http://packages.python.org/kombu/introduction.html#quick-overview, a code exemple shows:

video_queue = Queue("video", exchange=media_exchange, key="video")

while it should be

video_queue = Queue("video", exchange=media_exchange, routing_key="video")

If your try to write code using the "key" argument, you end up with the error:

KeyError: 'ae.undeliver'

Cheers

heckj commented 13 years ago

submitted pull request on kombu to resolve: https://github.com/ask/kombu/pull/50