npm install -g typescript ts-node
git clone ...
npm install
Start activemq locally. It has to serve on 127.0.0.1
on port 61613
.
ts-node produce
This command produce a message on topic stock/change
ts-node consume
This command consume all message on topic stock/Change and show Message on console.