Basic publisher and client in C# using the RabbitMq.Client nuget.
Inspired by some work on a client - more detail in this walkthrough
- Installed RabbitMq 1a. Installed Erlang so RabbitMq runs
- Enable the HTTP RabbitMq Management Plugin
rabbitmq-plugins enable rabbitmq_management
- Navigate to http://localhost:15672 to see the queues
- Start the
Alexw.RabbitMqExample.Clientconsole app. Watch it for messages.
- Run the
Alexw.RabbitMqExample.Publisherto send a message.
Messages will be sent to the default (blank) topic. The
Client will create a queue if it does not exist and subscribe to all messages.
- By default
guestuser cannot create a queue on the default (blank) exchange - you'll get a permissions error if you try it.