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?
gem install amq-protocol
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.
lib/amq/protocol/client.rb from the source (
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
amq-protocol is maintained by Michael Klishin.