Skip to content

Instantly share code, notes, and snippets.

@erubboli
Created August 9, 2012 15:20
Show Gist options
  • Save erubboli/3305075 to your computer and use it in GitHub Desktop.
Save erubboli/3305075 to your computer and use it in GitHub Desktop.
require 'torquebox'
require 'torquespec'
torquebox = TorqueSpec::Server.new
torquebox.start(:wait => 120)
q = TorqueBox::Messaging::Queue.start('/queues/foo')
q.publish_and_receive('hello')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment