markiz / amq-protocol

AMQP 0.9.1 protocol serialization & framing implementation for Ruby (1.8.7 and 1.9.2)

Home Page:http://groups.google.com/group/ruby-amqp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This is an AMQP parser for AMQP 0.9.1. It isn’t an AMQP client, just the parser, so if you want to write your own
AMQP client without digging into the protocol, this gem can help you with that.

Usage

gem install amq-protocol

Check the examples directory for some examples.

Development

Nightly Builds

You can always find nightly builds at gems.101ideas.cz. You can install them thusly:

wget http://gems.101ideas.cz/amq-protocol-nightly.gem
gem install amq-protocol-nightly.gem

NOTE: This could be better achieved by a gem server, but it’s just utterly broken.

Git Repository

git clone git://github.com/ruby-amqp/amq-protocol.git --recursive

Or, if you are on an older version of Git:

git clone git://github.com/ruby-amqp/amq-protocol.git
git submodule update --init

If you want to change some code, don’t do so in lib/amq/protocol/client.rb, but in protocol.rb.pytemplate
which is a template file for codegen.py. You can re-generate the code by nake ./tasks.rb generate.
This assumes you have nake gem installed.

Links

About

AMQP 0.9.1 protocol serialization & framing implementation for Ruby (1.8.7 and 1.9.2)

http://groups.google.com/group/ruby-amqp

License:MIT License


Languages

Language:Ruby 93.8%Language:Python 6.0%Language:Shell 0.2%