[OpenSIPS-Devel] [opensips] event_rabbitmq: event lost on rabbitmq server restart (#535)

Ovidiu Sas notifications at github.com
Mon Jun 1 21:07:20 CEST 2015


If the rabbitmq server is restarted, the librabbitmq library will report an AMQP_STATUS_SOCKET_ERROR. The connection will be destroyed and the event lost.
On next received event, opensips will attempt to re-connect and deliver the event.

On this particular error, we should perform a reconnect here and re-send the event (tested ok).
Maybe there are also other errors that require a similar handling.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/535
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150601/1b7e62ce/attachment.htm>


More information about the Devel mailing list