Example using Rails, JavaScript and ActiveMQ to do websocket notifications
Pull request Compare This branch is 2 commits behind newmana:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin/apache-activemq-5.7.0
config
db
doc
lib
public
script
test
vendor/cache
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.rdoc
Rakefile
activemq.xml
config.ru
console_chat.rb
slides.key
slides.pdf

README.rdoc

Notifications using Websockets

A simple example using Rails, ActiveMQ, JavaScript, STOMP and Websockets.

Bits of ActiveMQ are located in the ./bin directory.

To send messages to the server run: rails runner console_chat.rb username

Links

Javascript Library Used:

github.com/jmesnil/stomp-websocket

Ruby Library Used:

github.com/stompgem/stomp