Metadata

Distro Index Owner:
eea
Home Page:
eea.rabbitmq.client
License
GPL
Version:
1.4
Last updated:
2017-04-24
Keywords:
EEA Add-ons Plone Zope

eea.rabbitmq.client

Files

Indexes

Python RabbitMQ client

RabbitMQ Python connector

Basic RabbitMQ Python connector.

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.4 - (2017-04-24)

  • Change: updated package information [eduard-fironda]

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]