AMQP

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

perl-AMQP
=========

A simple AMQP Publisher Subscribe module wrapping AnyEvent::RabbitMQ

Getting Dependencies
--------------------
	
	carton install

Running Tests
-------------


	carton exec prove

cpanfile.snapshot  view on Meta::CPAN

      AnyEvent::RabbitMQ::Channel 1.15
      AnyEvent::RabbitMQ::LocalQueue 1.15
    requirements:
      AnyEvent 0
      Devel::GlobalDestruction 0
      ExtUtils::MakeMaker 6.59
      File::ShareDir 0
      List::MoreUtils 0
      Net::AMQP 0.06
      Readonly 1.03
      Test::Exception 0
      Test::More 0
      namespace::clean 0
      perl 5.006
      version 0
  B-Hooks-EndOfScope-0.12
    pathname: B/BO/BOBTFISH/B-Hooks-EndOfScope-0.12.tar.gz
    provides:
      B::Hooks::EndOfScope 0.12
      B::Hooks::EndOfScope::PP 0.12
      B::Hooks::EndOfScope::XS 0.12
    requirements:
      ExtUtils::CBuilder 0.26
      ExtUtils::MakeMaker 6.30
      Module::Implementation 0.05
      Module::Runtime 0.012
      Sub::Exporter::Progressive 0.001006
      Test::More 0.88
      Variable::Magic 0.48
  Class-Accessor-0.34
    pathname: K/KA/KASEI/Class-Accessor-0.34.tar.gz
    provides:
      Class::Accessor 0.34
      Class::Accessor::Fast 0.34
      Class::Accessor::Faster 0.34
    requirements:
      ExtUtils::MakeMaker 0
      base 1.01

t/subscriber.t  view on Meta::CPAN

use Test::More;
use Test::Mojo;
use lib './lib';

require_ok('AMQP::Subscriber');

my $s = AMQP::Subscriber->new;

isa_ok($s,'AMQP::Subscriber');

# Test overriding the defaults
$s->server('amqp://foo:bar@test:25672/test');
is($s->host, 'test', 'host set');
is($s->port, 25672, 'port set');
is($s->vhost, 'test', 'vhost set');
is($s->username, 'foo', 'user set');
is($s->password, 'bar', 'password set');

# Test the defaults
$s->server();
is($s->host, 'localhost', 'localhost default');
is($s->port, 5672, 'port default');
is($s->vhost, '/', 'vhost default');
is($s->username, 'guest', 'user default');
is($s->password, 'guest', 'password default');


done_testing();

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.376 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )