Python RabbitMQ client
Project description
Basic RabbitMQ Python connector.
Contents
Introduction
eea.rabbitmq.client is a connector for a RabbitMQ server.
API
Usage example:
from eea.rabbitmq.client import RabbitMQConnector
rabbit_config = {
'rabbit_host': "10.0.0.1",
'rabbit_port': "8080",
'rabbit_username': "admin",
'rabbit_password': "admin"
}
queue_name = "QUEUE_NAME"
rabbit = RabbitMQConnector(**rabbit_config)
rabbit.open_connection()
rabbit.declare_queue(queue_name)
rabbit.send_message(queue_name, "body text")
rabbit.close_connection()
Changelog
1.3 - (2016-09-05)
Bug fix: fixed pylint [chiridra refs #72772]
1.2 - (2016-08-29)
Change: disabled hearbeat interval to avoid disconnections. [chiridra refs #72772]
1.1 - (2016-05-12)
Change: turned package into a proper plone package [ichim-david refs #71940]
1.0 - (2016-05-04)
Feature: added documentation [alecghica refs #69689]
Bug fix: fixed package structure [alecghica refs #69689]
Feature: innitial release [szabozo0 refs #69689]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eea.rabbitmq.client-1.3.zip
(13.1 kB
view details)
File details
Details for the file eea.rabbitmq.client-1.3.zip.
File metadata
- Download URL: eea.rabbitmq.client-1.3.zip
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dff1a1da47bcbd22ab6b43b111c8c423b12ae014826c6ef01578da41139818f
|
|
| MD5 |
4d1eb2f73ac298542d226d13fe30c258
|
|
| BLAKE2b-256 |
a5cfca96183cf37f53c4e6a955a191992c483107668ba3fa7d0dbcdcc88f4139
|