cooldaemon / rabbitfoot Goto Github PK
View Code? Open in Web Editor NEWAn asynchronous and multi channel Perl AMQP client. It uses Coro and AnyEvent::RabbitMQ.
Home Page: http://search.cpan.org/~ikuta/Net-RabbitFoot/
An asynchronous and multi channel Perl AMQP client. It uses Coro and AnyEvent::RabbitMQ.
Home Page: http://search.cpan.org/~ikuta/Net-RabbitFoot/
After consuming a message from the first connection, I'm trying to create a new connection to a second RabbitMQ server in the callback and it hangs when calling Net::RabbitFoot->new()->load_xml_spec()->connect();
The RabbitMQ logs report: {handshake_timeout,handshake}
Hiya.
If you're connected to a RabbitMQ server, and the server unexpectedly goes away, then the on_failure callback to ->connect in AnyEvent::RabbitMQ is called.
This is passed by _do in Net::RabbitFoot and is a coro rouse_cb. However that is only used for checking the connection works, and so later when it is called back to, it has no effect.
I would have expected one of the on_close, or on_failure callbacks I'd passed to the connect method to be called instead, as I'd like to be able to handle reconnecting automatically if the connection to the server is interrupted in long running processes.
Cheers
t0m
Hiya.
Can you release this to CPAN, or at least tag a version in git so that I can build a company internal package for a specific numbered version?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.