dcpetrov has asked for the wisdom of the Perl Monks concerning the following question:
So I am wondering how can I achieve the same using Net::AMQP::RabbitMQ. Thanks.my $ae = AnyEvent->timer ( after => 5, interval => 60, cb => \&logStats, ); my $rf = Net::RabbitFoot->new()->load_xml_spec()->connect( host => 'localhost', port => 5672, user => 'guest', pass => 'guest', vhost => '/', timeout => 1, ); ... open channel and define on_consume handler ... AnyEvent->condvar->recv;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Async Net::AMQP::RabbitMQ
by haukex (Archbishop) on Jun 29, 2020 at 14:45 UTC | |
|
Re: Async Net::AMQP::RabbitMQ
by Fletch (Bishop) on Jun 29, 2020 at 15:20 UTC | |
|
Re: Async Net::AMQP::RabbitMQ
by ait (Hermit) on Jun 29, 2020 at 14:55 UTC | |
by Fletch (Bishop) on Jun 29, 2020 at 16:04 UTC |