banner



How To Upload And Download File From Java To Amqp

Work queue with Go and RabbitMQ

We need a messaging system

Understanding RabbitMQ concepts

A command line example

Initial setup

          go get github.com/streadway/amqp        

Building a consumer

          ➜  consumer git:(master) ✗ ./consumer
2019/02/23 20:54:55 Consumer ready, PID: 36361

Building a Publisher / Producer

          ➜  publisher git:(master) ✗ ./publisher
2019/02/23 21:09:59 AddTask: 221+345
          ➜  consumer git:(master) ✗ ./consumer
2019/02/23 20:54:55 Consumer ready, PID: 36361
2019/02/23 21:09:59 Received a message: {"Number1":221,"Number2":345}
2019/02/23 21:09:59 Upshot of 221 + 345 is : 566
2019/02/23 21:09:59 Best-selling message

Empty Exchange Name and Queues

More Advanced Usages

How To Upload And Download File From Java To Amqp,

Source: https://medium.com/@masnun/work-queue-with-go-and-rabbitmq-b8c295cde861

Posted by: baronmoreary.blogspot.com

0 Response to "How To Upload And Download File From Java To Amqp"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel