The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AMQP -- Base class for AMQP utilities

SYNOPSIS

  package AMQP::MyUtility;
  use Mojo::Base 'AMQP';
 
  my $util = AMQP::MyUtility->new;
  $util->server('amqp://amqp.perl.org:5672/test');

DESCRIPTION

The AMQP class provides the basic functionality common to all AMQP utility classes.

METHODS

server($url)

Configures all of the connection settings based on an AMQP url. The format of which is:

 amqp://username:password@host:port/vhost

All of the elements of the url are required if you are not using the defaults. The default settings are:

 amqp://guest:guest@localhost:5672/

TODO

BUGS

COPYRIGHT

Same as Perl.

AUTHORS

Dave Goehrig <dave@dloh.org>