Subject: | dies on closed connection instead of dropping or buffering messages |
When e.g. the RabbitMQ server is restarted, e.g. because of an update, the Message::Passing daemon dies with the following errors:
CLOSED at /home/cop/perl5/perlbrew/perls/LOGGING/lib/site_perl/5.16.3/Message/Passing/AMQP/ConnectionManager.pm line 59.
{"class":"Message::Passing::Exception::ConnectionDisconnected"}
CLOSED at /home/cop/perl5/perlbrew/perls/LOGGING/lib/site_perl/5.16.3/Message/Passing/AMQP/ConnectionManager.pm line 59.
{"class":"Message::Passing::Exception::ConnectionDisconnected"}
Can't call method "publish" on an undefined value at /home/cop/perl5/perlbrew/perls/LOGGING/lib/site_perl/5.16.3/Message/Passing/Output/AMQP.pm line 28.
What I'd expect is the same behaviour as on startup until the connection is established:
No exchange yet, dropping message at /home/cop/perl5/perlbrew/perls/LOGGING/lib/site_perl/5.16.3/Message/Passing/Output/AMQP.pm line 24.