Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
AMQP 0.9.1 protocol serialization and deserialization implementation for Ruby (2.0+)
Ruby Python

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/amq
spec
vendor
.gitignore
.gitmodules
.rspec
.travis.yml
Gemfile
LICENSE
PROFILING.md
README.md
__init__.py
amq-protocol.gemspec
amqp_0.9.1_changes.json
codegen.py
codegen_helpers.py
generate.rb
irb.rb
post-processing.rb
protocol.rb.pytemplate

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 can help you with that.

How does amq-protocol relate to amqp gem, amq-client and libraries like bunny?

See this page about AMQP gems family

Installation

gem install amq-protocol

Development

Make sure you have Python and the mako templating package installed. amq-protocol uses RabbitMQ protocol code generation library that is in Python, so there is some Python involved in the build. Don't fret.

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

./generate.rb

To make changes, do not edit client.rb directly. Instead, edit 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.

Links

Something went wrong with that request. Please try again.