Skip to content

A python class for easy way to work with RabbitMQ server.

Notifications You must be signed in to change notification settings

gavriel200/RabbitMQController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

RabbitMQController

The RabbitMQController class is used for and easy way to connect, public and consume messages using RabbitMQ.

To use this class you will need the pika module

python -m pip install pika --upgrade

to use the class you need to import it and create an object of it:

from RabbitMQController import Rabbit

rabbit = Rabbit()

From there we can use some methods to create queues and exhanges, publish and consume messages etc.

rabbit.declare_exchange("test_exchange", "direct")

rabbit.send_to_exchange("hello world", "test_exchange", "test")

rabbit.close_connection()

About

A python class for easy way to work with RabbitMQ server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages