Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 492 Bytes

File metadata and controls

19 lines (12 loc) · 492 Bytes

Demo one: Simple Hello World

A "Simple Hello World" example, with one script producer.js sending a message to a queue,and another consumer.js receiving messages from the same queue.

Running Locally

  • In terminal 1 start producer with following command:

    node producer.js <arg 1>
    • <arg 1>: Message you wants to send to consumer/worker
  • In terminal 2 start consumer with following command:

    node consumer.js