Skip to content

Instantly share code, notes, and snippets.

@goldmann
Created February 25, 2011 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save goldmann/843793 to your computer and use it in GitHub Desktop.
Save goldmann/843793 to your computer and use it in GitHub Desktop.
class NodeHandler
def process!(message)
payload = message.decode[:message]
puts payload.to_yaml
TorqueBox::Messaging::Queue.new(message.jmsreply_to).publish('OK')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment