Skip to content

landaida/activemq-stomp-protocol

Repository files navigation

ActiveMQ Stomp Protocol

"Stomp Protocol Documentation" "nodejs module to use stomp protocol"

To deploy activemq service I've use a docker image named "webcenter/activemq:latest"

To pull image exec this command in your terminal:

docker pull webcenter/activemq:latest

To create an container whit the pulled image only exec this command in your terminal:

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}









About

ActiveMQ Stomp Protocol

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published