Hi List,<br>New user here, debugging some code I inherited so apologies if my questions below are irrelevant.<br><br>I&#39;m investigating an amqp crash that I&#39;ve seen in my logs a few times and after a code review of the amqp component I&#39;m a bit concerned that my connections may be dying &amp; silently failing when this crash occurs.<br>
<br>I&#39;m using an older version that unlinked from the process that called &quot;start_link&quot;, anyone know why that was? I&#39;m publishing through this channel by calling amqp_channel:cast, so now I&#39;m worried that if the connection &amp; channel were closed down everything that I thought I was publishing after this error just silently failed. And because of the unlink there&#39;s no way the application would have known.<br>
<br>I plan upgrading to the latest version but I&#39;m not sure that it has all the features to help solve this problem. I see that the unlink is gone and the supervision policy is still:{one_for_all, 0, 1} So I guess this means I have to trap exits and I have responsibility for reopening the connection &amp; channel if it dies?<br>
But before I restart it, what happens to any attempts to publish messages? I see there&#39;s new confirmation functionality that sounds like it might do what&#39;s required but from my reading it seems that if amqp_channel is shut down after a crash on the connection then all the confirm info is discarded. Is there no way to keep this process alive and try to re-open the connection immediately on failure?<br>
<br>I&#39;m just about to plug in the new version and play with the confirmations but any explanations of the current design might help enormously,<br>Thanks,<br>//TTom.<br><br>