skip to navigation
skip to content

djamqpconsumer 0.7

Blocking custom django command to consume a AMQP queue

What is this

Adds a custom command which opens a blocking connection with an AMQP server and passes messages to a callback fuction


This settings are requiered for the command run


AMQP server ip


AMQP server Virtual Host


AMQP server User name for the virtual host


Username's password


Which queue listen to


Path to the callback func. ex.: djamqpconsumer.printconsumer.printdata


Use pip to install from PyPI::

pip install djamqpconsumer


Add ``djamqpconsumer`` to your file::


Use with consumer [debug]

0.6 (2014-03-27)
- Parse results to send nack/requeue commands
callback command must return a dict with
{'result': 0/1
'msg': String,
'retry': Bool}

- Use logging instead of printing

0.5 (2014-02-21)
- Add pika dependency  
File Type Py Version Uploaded on Size (md5) Source 2014-03-27 6KB