Skip to main content

Python RabbitMQ client

Project description

develop master

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.6 - (2018-08-21)

  • Feature: add configuration and utilities for RabbitMQ client [GhitaB refs #91506]

  • Change: updated URLs pointing to eea.europa.eu with https:// [alecghica refs #95849]

1.5 - (2017-12-12)

  • Change: Replace eeacms/zptlint with eeacms/plone-test:4 zptlint [avoinea refs #90415]

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]

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.6.zip (18.3 kB view details)

Uploaded Source

File details

Details for the file eea.rabbitmq.client-1.6.zip.

File metadata

  • Download URL: eea.rabbitmq.client-1.6.zip
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for eea.rabbitmq.client-1.6.zip
Algorithm Hash digest
SHA256 032978dab9ab9169a6b13aeb5564b5ca805fcc8fed507803c48f68824fb40f08
MD5 585c183e1c99cf8052109b059ee27d77
BLAKE2b-256 3338df426d7460111f0940546f871d88ee30b4ef9fe308a9a25fcaf08ffeeb17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page