Skip to main content

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.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.1.zip (12.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for eea.rabbitmq.client-1.1.zip
Algorithm Hash digest
SHA256 329a147c3023afa9c230626aa7656fbdf27928b5da1cf3edc455b9a95121d071
MD5 16bf637093e4942b1cdfdfd5de86771e
BLAKE2b-256 6c7ff15a0441f7d8a38f6b0c6764bd929f7448c8d42291630ec6adfe674bdb84

See more details on using hashes here.

Supported by

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