Before executing these programs, make sure you have rabbitmq server running locally or remotely.
cd node.js
npm install
- To send,
node send.js $host
- To receive,
node receive.js $host
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
cd java
gradle execute -PjvmArgs="-Dhost=$host"