Skip to content

swallow1509/send-sms-via-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMS service with RabbitMQ

Install RabbitMQ and start broker

    $ sudo service rabbitmq-server start
    //Service will be started

Clone this repo:

    $ git clone https://github.com/swallow1509/send-sms-via-rabbitmq
    //Go to the directory

Run producer/produce.go and consumer/consume.go in two separate terminals

Terminal 1

    send-sms-via-rabbitmq/producer> go run produce.go Hello, Wolrd!
    //Any message is welcome instead of "Hello, World!"

Terminal 2

    send-sms-via-rabbitmq/consumer> go run consume.go
    //[*] Waiting for messages. To exit press CTRL+C
    //Above message will be displayed untill you pres CTRL+C

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages