Net::RabbitFoot - An Asynchronous and multi channel Perl AMQP client.
use Net::RabbitFoot; my $rf = Net::RabbitFoot->new()->load_xml_spec()->connect( host => 'localhost', port => 5672, user => 'guest', pass => 'guest', vhost => '/', timeout => 1, ); my $ch = $rf->open_channel(); $ch->declare_exchange(exchange => 'test_exchange');
Net::RabbitFoot is an AMQP(Advanced Message Queuing Protocol) client library, that is intended to allow you to interact with AMQP-compliant message brokers/servers such as RabbitMQ in an asynchronous fashion.
You can use Net::RabbitFoot to -
* Declare and delete exchanges * Declare, delete, bind and unbind queues * Set QoS * Publish, consume, get, ack and recover messages * Select, commit and rollback transactions
Net::RabbitFoot is known to work with RabbitMQ versions 2.3.1 and version 0-8 of the AMQP specification.
Masahito Ikuta <cooldaemon@gmail.com>
Copyright (c) 2010, the above named author(s).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::RabbitFoot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::RabbitFoot
CPAN shell
perl -MCPAN -e shell install Net::RabbitFoot
For more information on module installation, please visit the detailed CPAN module installation guide.