Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
AMQP 0.9.1 protocol serialization and deserialization implementation for Ruby (2.0, 1.9, JRuby, Rubinius, REE, 1.8.7)
Ruby Python

Merge pull request #47 from jdrago999/patch-1

Remove warnings about URI.unescape being deprecated
Failed to load latest commit information.
benchmarks Add proper implementation of next_clear_bit for Bitset and update int…
codegen Update rabbitmq-codegen ref
lib/amq Remove warnings about URI.unescape being deprecated
profiling Brief README
spec changes re-issued from 1.9.x-stable branch to master
.gitignore fixed signed 16bit amqp framing conversion
.gitmodules
.rspec Added spec stubs.
.travis.yml Don't test against Rubinius
ChangeLog.md Change log update
Gemfile Use the correct platform constraint for the ruby-prof dependency
LICENSE README and LICENSE updates
README.md Add a Bitdeli badge to README
Rakefile Add Rakefile for extension compilation
amq-protocol.gemspec README is now in Markdown
generate.rb Exclude credits extension from generation

README.md

What is amq-protocol.

amq-protocol is an AMQP 0.9.1 serialization library for Ruby. It is not an AMQP client: amq-protocol only handles serialization and deserialization.

If you want to write your own AMQP client, this gem will handle all the serialization needs for you, including RabbitMQ extensions to AMQP 0.9.1.

Installation

gem install amq-protocol

Development

Make sure you have Python, pip and the mako templating package installed:

pip install mako

amq-protocol uses RabbitMQ protocol code generation library that is in Python, so there is some Python involved in the build.

To regenerate lib/amq/protocol/client.rb from the source (codegen/* files), run

./generate.rb

To make changes, do not edit client.rb directly. Instead, edit the codegen/protocol.rb.pytemplate and regenerate.

To run tests, use

bundle install --binstubs
./bin/rspec -c spec spec

Maintainer Information

amq-protocol is maintained by Michael Klishin.

CI Status

Build Status

Issues

Please report any issues you may find to our Issue tracker on GitHub.

Mailing List

Any questions you may have should be sent to the Ruby AMQP mailing list.

License

MIT (see LICENSE in the repository root).

Bitdeli Badge

Something went wrong with that request. Please try again.