Skip to content
Example using Rails, JavaScript and ActiveMQ to do websocket notifications
JavaScript Shell Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.idea/scopes
app
bin/apache-activemq-5.7.0
config
db
doc
lib
public
script
test
vendor/cache
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.rdoc
Rakefile
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

Something went wrong with that request. Please try again.