"Stomp Protocol Documentation" "nodejs module to use stomp protocol"
To deploy activemq service I've use a docker image named "webcenter/activemq:latest"
docker pull webcenter/activemq:latest
docker run -d --name='activemq' -p 8161:8161 -p 61613:61613 webcenter/activemq:latest
After this you already have an activemq service running in your localhost, to see informations about your queue list and messages go to below link(default user:admin, default password:admin):
http://localhost:8161/admin/queues.jsp
When you execute "producer.js" file three messages will be produced in the queue named 'boostacq.chimp.post.in'.
{"id":1, "name":"One"}
{"id":2, "name":"Two"}
{"id":3, "name":"Three"}
When you execute "consumer.js" file will be consume only one message for each execution and the result will be put in another queue named 'boostacq.chimp.post.out'
{"id":1, "name":"One", "result":25}