Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c31d21f20d

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
Rakefile
amqp-0.8.json
amqp_spec.rb
amqpc.rb
codegen.rb

README

Simple AMQP client for Ruby/EventMachine.

To use with RabbitMQ, first run the server:

  hg clone http://hg.rabbitmq.com/rabbitmq-codegen
  hg clone http://hg.rabbitmq.com/rabbitmq-server
  cd rabbitmq-server
  make run

Then run the client:

  ruby amqpc.rb

The client includes some basic specs (requires bacon >= 0.9.10). To run them:

  bacon amqpc.rb

The amqp_spec.rb file is generated automatically based on the AMQP specification. To generate it:

  ruby codegen.rb > amqp_spec.rb

This project was inspired by py-amqplib, rabbitmq, qpid and rubbyt.
Special thanks go to Dmitriy Samovskiy, Ben Hood and Tony Garnock-Jones.

Other AMQP resources:

  Barry Pederson's py-amqplib: http://barryp.org/software/py-amqplib/
  Ben Hood's article on writing an AMQP article: http://hopper.squarespace.com/blog/2008/6/21/build-your-own-amqp-client.html
  Dmitriy Samovskiy's introduction to ruby+rabbitmq: http://somic-org.homelinux.org/blog/2008/06/24/ruby-amqp-rabbitmq-example/
  Ben Hood's AMQP client in AS3: http://github.com/0x6e6562/as3-amqp
Something went wrong with that request. Please try again.