Skip to content

Instantly share code, notes, and snippets.

@wilken
wilken / gist:1037726
Created June 21, 2011 12:12
Rabbitmq
#!/usr/bin/env ruby
# encoding: utf-8
require "bundler"
Bundler.setup
require "amqp"
EventMachine.run do
connection1 = AMQP.connect(:host => '127.0.0.1')
puts "Connected to AMQP broker. Running #{AMQP::VERSION} version of the gem..."

Keybase proof

I hereby claim:

  • I am wilken on github.
  • I am wilken (https://keybase.io/wilken) on keybase.
  • I have a public key whose fingerprint is 9B5A 6C9E FFDB 4AA3 3BE2 3DC0 B8BA 796B 0520 4D41

To claim this, I am signing this object: