In my previous post on activemq and ROR I have shown how can we use activemq with rest adapter. In this post I will discuss on "how we can use stomp in place or rest".
First you have to install stomp gem
gem install stomp
and you have to just change the broker.yml of configuration folder to use the stomp protocol. Here I am just showing a simple broker.yml
First you have to install stomp gem
gem install stomp
and you have to just change the broker.yml of configuration folder to use the stomp protocol. Here I am just showing a simple broker.yml
development:
adapter: stomp
login: ""
passcode: ""
host: localhost
port: 61613
reliable: true
reconnectDelay: 5
and rest of the thing is same what i have discussed in my previous post.
No comments:
Post a Comment