Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Blocking custom django command to consume a AMQP queue

Project description

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for djamqpconsumer, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page