AnyMQ-AMQP
view release on metacpan or search on metacpan
no_index:
directory:
- inc
- t
- xt
requires:
AnyEvent::RabbitMQ: 1.03
AnyMQ: 0
File::ShareDir: 0
JSON: 0
Try::Tiny: 0
perl: 5.8.1
resources:
license: http://dev.perl.org/licenses/
repository: git://github.com/clkao/AnyMQ-AMQP.git
version: 0.30
Makefile.PL view on Meta::CPAN
use inc::Module::Install;
name 'AnyMQ-AMQP';
all_from 'lib/AnyMQ/AMQP.pm';
readme_from 'lib/AnyMQ/AMQP.pm';
build_requires 'Test::More';
requires 'AnyMQ';
requires 'File::ShareDir';
requires 'JSON';
requires 'Try::Tiny';
requires 'AnyEvent::RabbitMQ' => 1.03;
auto_include_deps;
auto_set_repository;
extra_tests;
WriteAll;
lib/AnyMQ/Trait/AMQP.pm view on Meta::CPAN
package AnyMQ::Trait::AMQP;
use Moose::Role;
use File::ShareDir;
use AnyEvent;
use AnyEvent::RabbitMQ;
use JSON;
use Try::Tiny;
use Carp qw(croak carp);
has host => (is => "ro", isa => "Str");
has port => (is => "ro", isa => "Int");
has user => (is => "ro", isa => "Str");
has pass => (is => "ro", isa => "Str");
has vhost => (is => "ro", isa => "Str");
has exchange => (is => "ro", isa => "Str");
has bind_mode => (is => "ro", isa => "Str", default => sub { 'exchange' });
( run in 0.743 second using v1.01-cache-2.11-cpan-05444aca049 )