Skip to content

Files

Latest commit

65c3e95 · Jan 13, 2021

History

History
21 lines (13 loc) · 474 Bytes

File metadata and controls

21 lines (13 loc) · 474 Bytes

Demo seven: Priority Queue

  • We can set priority for any message in RabbitMQ.

  • Note: Versions of RabbitMQ older than 3.5.0 will not support this feature.

  • For more information refer this RabbitMQ documentation.

Running Locally

  • In terminal 1 start producer with following command:

    node producer.js
  • In terminal 2 start consumer with following command:

    node consumer.js