Python Queue module based backend doesn't work with iterconsume() or wait() #23

Closed
yosh opened this Issue Feb 6, 2010 · 1 comment

Comments

Projects
None yet
2 participants

yosh commented Feb 6, 2010

iterconsume (and by extension, wait()) does:

self.backend.consume(limit=limit)

but backends/queue.py defines consumer as:

def consume(self, queue, no_ack, callback, consumer_tag):

so obviously it doesn't work. Not sure the best way to fix it, perhaps implement declare_consumer and stash the callback?

Contributor

pmclanahan commented Mar 4, 2010

bump

Just encountered this. Want to use queue backend for tests.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment