RabbitMQ STOMP / AMQP examples.
Run RabbitMQ broker.
# Start RabbitMQ container using docker-compose
npm run rabbitmq
See stomp
folder.
# Pub / Sub example
node stomp/pubsub.js
# Queue example
node stomp/queue.js
# AMQ Queue example
node stomp/queue-amq.js
See amqp
folder.
# Pub / Sub example
node amqp/pubsub.js
# Pub / Sub example using `fanout` exchange
node amqp/pubsub-fanout.js
# Queue example
node queue.js