AMQP
view release on metacpan or search on metacpan
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
cpanfile.snapshot view on Meta::CPAN
requirements:
ExtUtils::MakeMaker 0
Class-Inspector-1.28
pathname: A/AD/ADAMK/Class-Inspector-1.28.tar.gz
provides:
Class::Inspector 1.28
Class::Inspector::Functions 1.28
requirements:
ExtUtils::MakeMaker 6.59
File::Spec 0.80
Test::More 0.47
perl 5.006
Devel-GlobalDestruction-0.11
pathname: H/HA/HAARG/Devel-GlobalDestruction-0.11.tar.gz
provides:
Devel::GlobalDestruction 0.11
requirements:
ExtUtils::CBuilder 0.27
ExtUtils::MakeMaker 0
Sub::Exporter::Progressive 0.001006
perl 5.006
cpanfile.snapshot view on Meta::CPAN
warnings 0
File-ShareDir-1.03
pathname: A/AD/ADAMK/File-ShareDir-1.03.tar.gz
provides:
File::ShareDir 1.03
requirements:
Carp 0
Class::Inspector 1.12
ExtUtils::MakeMaker 6.42
File::Spec 0.80
Test::More 0.47
perl 5.005
List-MoreUtils-0.33
pathname: A/AD/ADAMK/List-MoreUtils-0.33.tar.gz
provides:
List::MoreUtils 0.33
requirements:
ExtUtils::CBuilder 0.27
ExtUtils::MakeMaker 6.52
Test::More 0.82
perl 5.00503
Module-Implementation-0.07
pathname: D/DR/DROLSKY/Module-Implementation-0.07.tar.gz
provides:
Module::Implementation 0.07
T::Impl1 undef
T::Impl2 undef
T::ImplFails1 undef
T::ImplFails2 undef
requirements:
cpanfile.snapshot view on Meta::CPAN
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Runtime-0.013
pathname: Z/ZE/ZEFRAM/Module-Runtime-0.013.tar.gz
provides:
Module::Runtime 0.013
requirements:
Module::Build 0
Test::More 0
perl 5.006
strict 0
warnings 0
Mojolicious-4.34
pathname: S/SR/SRI/Mojolicious-4.34.tar.gz
provides:
Mojo undef
Mojo::Asset undef
Mojo::Asset::File undef
Mojo::Asset::Memory undef
cpanfile.snapshot view on Meta::CPAN
Mojolicious::Plugin::TagHelpers undef
Mojolicious::Plugins undef
Mojolicious::Renderer undef
Mojolicious::Routes undef
Mojolicious::Routes::Match undef
Mojolicious::Routes::Pattern undef
Mojolicious::Routes::Route undef
Mojolicious::Sessions undef
Mojolicious::Static undef
Mojolicious::Types undef
Test::Mojo undef
ojo undef
requirements:
ExtUtils::MakeMaker 0
Net-AMQP-0.06
pathname: C/CH/CHIPS/Net-AMQP-0.06.tar.gz
provides:
Net::AMQP 0.06
Net::AMQP::Common undef
Net::AMQP::Frame undef
Net::AMQP::Frame::Body undef
cpanfile.snapshot view on Meta::CPAN
Net::AMQP::Protocol undef
Net::AMQP::Protocol::Base undef
Net::AMQP::Protocol::v0_8 undef
Net::AMQP::Value undef
requirements:
Class::Accessor 0
Class::Data::Inheritable 0
File::Temp 0.19
Module::Build 0.40
Scalar::Util 0
Test::Deep 0
Test::More 0.88
XML::LibXML 0
Package-Stash-0.36
pathname: D/DO/DOY/Package-Stash-0.36.tar.gz
provides:
Package::Stash 0.36
Package::Stash::PP 0.36
requirements:
B 0
Carp 0
Config 0
Dist::CheckConflicts 0.02
ExtUtils::MakeMaker 6.30
File::Find 0
File::Spec 0
File::Temp 0
Getopt::Long 0
Module::Implementation 0.06
Package::Stash::XS 0.26
Scalar::Util 0
Symbol 0
Test::Fatal 0
Test::More 0.88
Test::Requires 0
Text::ParseWords 0
base 0
constant 0
lib 0
strict 0
warnings 0
Package-Stash-XS-0.28
pathname: D/DO/DOY/Package-Stash-XS-0.28.tar.gz
provides:
CompileTime undef
cpanfile.snapshot view on Meta::CPAN
Readonly::Hash 1.03
Readonly::Scalar 1.03
requirements:
ExtUtils::MakeMaker 0
Sub-Exporter-Progressive-0.001010
pathname: F/FR/FREW/Sub-Exporter-Progressive-0.001010.tar.gz
provides:
Sub::Exporter::Progressive 0.001010
requirements:
ExtUtils::MakeMaker 0
Test::More 0.88
Sub-Uplevel-0.24
pathname: D/DA/DAGOLDEN/Sub-Uplevel-0.24.tar.gz
provides:
Sub::Uplevel 0.24
requirements:
Carp 0
Exporter 0
ExtUtils::MakeMaker 6.30
File::Find 0
File::Temp 0
Test::More 0
constant 0
strict 0
warnings 0
Test-Deep-0.110
pathname: R/RJ/RJBS/Test-Deep-0.110.tar.gz
provides:
Test::Deep 0.110
Test::Deep::All undef
Test::Deep::Any undef
Test::Deep::Array undef
Test::Deep::ArrayEach undef
Test::Deep::ArrayElementsOnly undef
Test::Deep::ArrayLength undef
Test::Deep::ArrayLengthOnly undef
Test::Deep::Blessed undef
Test::Deep::Boolean undef
Test::Deep::Cache undef
Test::Deep::Cache::Simple undef
Test::Deep::Class undef
Test::Deep::Cmp undef
Test::Deep::Code undef
Test::Deep::Hash undef
Test::Deep::HashEach undef
Test::Deep::HashElements undef
Test::Deep::HashKeys undef
Test::Deep::HashKeysOnly undef
Test::Deep::Ignore undef
Test::Deep::Isa undef
Test::Deep::ListMethods undef
Test::Deep::MM undef
Test::Deep::Methods undef
Test::Deep::NoTest undef
Test::Deep::Number undef
Test::Deep::Ref undef
Test::Deep::RefType undef
Test::Deep::Regexp undef
Test::Deep::RegexpMatches undef
Test::Deep::RegexpRef undef
Test::Deep::RegexpRefOnly undef
Test::Deep::RegexpVersion undef
Test::Deep::ScalarRef undef
Test::Deep::ScalarRefOnly undef
Test::Deep::Set undef
Test::Deep::Shallow undef
Test::Deep::Stack undef
Test::Deep::String undef
Test::Deep::SubHash undef
Test::Deep::SubHashElements undef
Test::Deep::SubHashKeys undef
Test::Deep::SubHashKeysOnly undef
Test::Deep::SuperHash undef
Test::Deep::SuperHashElements undef
Test::Deep::SuperHashKeys undef
Test::Deep::SuperHashKeysOnly undef
requirements:
ExtUtils::MakeMaker 0
List::Util 1.09
Scalar::Util 1.09
Test::More 0
Test::NoWarnings 0.02
Test::Tester 0.04
Test-Exception-0.32
pathname: A/AD/ADIE/Test-Exception-0.32.tar.gz
provides:
Test::Exception 0.32
requirements:
Module::Build 0.38
Sub::Uplevel 0.18
Test::Builder 0.7
Test::Builder::Tester 1.07
Test::Harness 2.03
Test::More 0.7
Test::Simple 0.7
Test-Fatal-0.010
pathname: R/RJ/RJBS/Test-Fatal-0.010.tar.gz
provides:
Test::Fatal 0.010
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 6.30
Test::Builder 0
Test::Builder::Tester 0
Test::More 0.47
Try::Tiny 0.07
overload 0
strict 0
warnings 0
Test-NoWarnings-1.04
pathname: A/AD/ADAMK/Test-NoWarnings-1.04.tar.gz
provides:
Test::NoWarnings 1.04
Test::NoWarnings::Warning 1.04
requirements:
ExtUtils::MakeMaker 0
Test::Builder 0.86
Test::More 0.47
Test::Tester 0.107
perl 5.006
Test-Requires-0.07
pathname: T/TO/TOKUHIROM/Test-Requires-0.07.tar.gz
provides:
Test::Requires 0.07
requirements:
CPAN::Meta 0
CPAN::Meta::Prereqs 0
ExtUtils::MakeMaker 6.59
Module::Build 0.38
Test::Builder::Module 0
Test::More 0.61
perl 5.008_001
Test-Tester-0.109
pathname: F/FD/FDALY/Test-Tester-0.109.tar.gz
provides:
Test::Tester 0.109
Test::Tester::Capture undef
Test::Tester::CaptureRunner undef
Test::Tester::Delegate undef
requirements:
ExtUtils::MakeMaker 0
Test::Builder 0
Try-Tiny-0.18
pathname: D/DO/DOY/Try-Tiny-0.18.tar.gz
provides:
Try::Tiny 0.18
requirements:
Carp 0
Exporter 0
ExtUtils::MakeMaker 6.30
base 0
constant 0
cpanfile.snapshot view on Meta::CPAN
warnings 0
Variable-Magic-0.53
pathname: V/VP/VPIT/Variable-Magic-0.53.tar.gz
provides:
Variable::Magic 0.53
requirements:
Carp 0
Config 0
Exporter 0
ExtUtils::MakeMaker 0
Test::More 0
XSLoader 0
base 0
perl 5.008
XML-LibXML-2.0105
pathname: S/SH/SHLOMIF/XML-LibXML-2.0105.tar.gz
provides:
XML::LibXML 2.0105
XML::LibXML::Attr 2.0105
XML::LibXML::AttributeHash 2.0105
XML::LibXML::Boolean 2.0105
cpanfile.snapshot view on Meta::CPAN
XML::LibXML::SAX::Builder 2.0105
XML::LibXML::SAX::Generator 2.0105
XML::LibXML::SAX::Parser 2.0105
XML::LibXML::Schema 2.0105
XML::LibXML::Text 2.0105
XML::LibXML::XPathContext 2.0105
XML::LibXML::XPathExpression 2.0105
XML::LibXML::_SAXParser 2.0105
requirements:
ExtUtils::MakeMaker 6.56
Test::More 0
XML::NamespaceSupport 1.07
XML::SAX 0.11
base 0
strict 0
vars 0
warnings 0
XML-NamespaceSupport-1.11
pathname: P/PE/PERIGRIN/XML-NamespaceSupport-1.11.tar.gz
provides:
XML::NamespaceSupport 1.11
requirements:
ExtUtils::MakeMaker 6.42
Test::More 0.47
XML-SAX-0.99
pathname: G/GR/GRANTM/XML-SAX-0.99.tar.gz
provides:
XML::SAX 0.99
XML::SAX::DocumentLocator undef
XML::SAX::ParserFactory 1.01
XML::SAX::PurePerl 0.99
XML::SAX::PurePerl::DebugHandler undef
XML::SAX::PurePerl::Exception undef
XML::SAX::PurePerl::Productions undef
cpanfile.snapshot view on Meta::CPAN
XML::NamespaceSupport 0.03
XML::SAX::Base 1.05
XML-SAX-Base-1.08
pathname: G/GR/GRANTM/XML-SAX-Base-1.08.tar.gz
provides:
XML::SAX::Base 1.08
XML::SAX::Base::NoHandler 1.08
XML::SAX::Exception 1.08
requirements:
ExtUtils::MakeMaker 6.31
Test::More 0.88
namespace-clean-0.24
pathname: R/RI/RIBASUSHI/namespace-clean-0.24.tar.gz
provides:
namespace::clean 0.24
requirements:
B::Hooks::EndOfScope 0.12
ExtUtils::CBuilder 0.27
Package::Stash 0.23
Test::More 0.88
t/publisher.t view on Meta::CPAN
use Test::More tests => 2;
use Test::Mojo;
use lib './lib';
require_ok('AMQP::Publisher');
my $p = AMQP::Publisher->new;
isa_ok($p,'AMQP::Publisher');
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();
( run in 0.797 second using v1.01-cache-2.11-cpan-a5abf4f5562 )