Skip to content

this project is a simple test to send and recieve a message with a qeue

Notifications You must be signed in to change notification settings

AmirAli-BahramJerdi/MessageBroker_RabbitMQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ Logo

MessageBroker_RabbitMQ

this project is a simple test to send and recieve a message with a qeue

Do the following steps in order

  • activate the virtual environment
  source venv/bin/activate
  • Install requirements
  pip install -r requirements.txt
  • create an admin that username='root' and password='root'
  sudo rabbitmqctl add_user "root" "root"   
  • give the user 'root' administrator permission
  sudo rabbitmqctl set_user_tags root administrator 
  • give the user 'root' virtual host access (/)
  sudo rabbitmqctl set_permissions -p / root ".*" ".*" ".*" 
  • run sender.py and reciever in two separate terminals
  python sender.py
  python reciever.py

Source/Documentation

RabbitMQ

pika

Author

Hope to enjoy it :)

About

this project is a simple test to send and recieve a message with a qeue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages