AMQP
view release on metacpan or search on metacpan
---
abstract: 'Base class for AMQP utilities'
author:
- 'Dave Goehrig <dave@dloh.org>'
build_requires: {}
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: AMQP
requires:
AnyEvent::RabbitMQ: 1.15
lib/AMQP/Publisher.pm view on Meta::CPAN
amqp://guest:guest@localhost:5672/
B<attach()>
Connects to the AMQP server specified by the C<server()> method. When the server connects it will invoke the publisher's C<on_connect()>
callback. This can enable you to setup additional event loops to drive the publisher.
B<send()>
After the Publisher object has attached to the AMQP server, it is capable of sending messages to the configured exchange and key.
B<exchange( $exchange )>
An accessor to the configured exchange.
B<key( $key )>
And accessor to the configured routing key.
=head1 TODO
=head1 BUGS
If you find them out
=head1 COPYRIGHT
( run in 0.584 second using v1.01-cache-2.11-cpan-e1769b4cff6 )