Now that you've seen how to send and receive messages with the management plugin, it's time to see how to do this in code.
In this episode, you'll learn about the “amqplib” library for NodeJS – along with why there is some confusion on it's name (“amqplib” ? or “amqp.node” ?). This driver for the AMQP protocol allows NodeJS apps to communicate with RabbitMQ, and provides an API that very directly mimics the API of RabbitMQ itself.
With this library in hand, you'll set up a message listener and send a message to that listener through the management console. Then you'll add your own message publisher to the mix, as well.
When you're done with this episode, you'll be able to set up and use amqplib with NodeJS, sending and receiving basic messages.