Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An AMQP stack for Perl
Latest commit f1d8ec0 @melo More documentation
Signed-off-by: Pedro Melo <>
Failed to load latest commit information.
anyevent-amqp Disable the die on leak behaviour for now
docs Added AMQP 0.9 spec and XML bindings file


AMQP stack for Perl

This repo contains an implementation of the AMQP protocol for Perl.

This is work-in-progress, you might be interested on the very basic TODO list.

The following distributions are available:

  • Parse::AMQP::ProtocolDefinitions: parses the AMQP XML-based protocol definitions;
  • Protocol::AMQP: implements all the AMQP protocol logic;
  • AnyEvent::AMQP: implements all the network code using the AnyEvent stack.

NOTE WELL: We are using Moose because it makes developing faster. After we have a stable codebase, we will start doing performance testing. If Moose turns out to be a bottleneck, we will remove it.

So don't make assumptions that this stack will be Moose-powered forever.


This class is splitted into several smaller components:

  • Protocol::AMQP::Peer: represents a socket connection to a AMQP peer; handles all the low level network reading and writting, and watches over the socket health;

    .... More to come ....


During development, we are using OpenAMQ broker. Before our first release, I hope to have this code tested on other brokers, most notably RabbitMQ.

OpenAMQ is 0.9.1 compliant, and so that is the version that I'm currently testing with. RabbitMQ uses 0.8.


Pedro Melo

Copyright & License

Copyright 2009, 2010 Pedro Melo

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.