This is a port of the ruote-amqp-ping-pong investigation:
but using Stomp instead of AMQP. I'm also referencing my git fork (https://github.com/kitplummer/daemon-kit) of Daemon-Kit which has the ruote_stomp functionality in it. The example engine app, references my ruote-stomp (https://github.com/kitplummer/ruote-stomp) library (via git)
Clone this project.
Open 3 terminal windows and cd into each project subdirectory [ping/, pong/, ping-pong-engine/].
➜ ping bundle ➜ ping bin/ping
➜ pong bundle ➜ pong bin/pong
➜ ping-pong-engine bundle ➜ ping-pong-engine stompserver & ➜ ping-pong-engine ruby lib/main.rb
That's it - you should see the 'app run, and the ping and pong workers do their thing - over Stomp.
I've include the ruby stompserver as a gem dependency in the ping-pong-engine project, so it was fetch with the 'bundle' command.