/rabbitmq-clients

Simple clients in Java, C# and Node.js for RabbitMq messaging!

Primary LanguageC#

Clients (Java, Node.js, C#) to connect to RabbitMQ brokers

Before executing these programs, make sure you have rabbitmq server running locally or remotely.

Node.js

  • cd node.js
  • npm install
  • To send, node send.js $host
  • To receive, node receive.js $host

C#

For Unix/Linux, you can install mono (cross platform open source .NET framework)

Compile

mcs /r:"RabbitMQ.Client.dll" producer.cs
mcs /r:"RabbitMQ.Client.dll" consumer.cs

Run

mono producer.exe $host
mono consumer.exe $host

Java

cd java
gradle execute -PjvmArgs="-Dhost=$host"