There isn't currently a way to get any notification of connection loss
per/se. You might be able to accomplish what you want by checking the
status of the incoming message transfers. What is it you would do based on
the notification?

--Rafael

On Sun, Feb 17, 2013 at 6:43 PM, Bozo Dragojevic <bo...@digiverse.si> wrote:

> If I kill send.c while it's sending the messages then recv output might
> look like this:
>
> ----
> $ ./recv
> .
> 1361144306.723531
>     Address: amqp://0.0.0.0
>     Subject: Greetings from send 24136
>     Content: "Hello World!"
> ### engine.c:1395 pn_do_error ERROR ### transport-5 ERROR
> amqp:connection:framing-error connection aborted
>
> [0x192a910:0] ERROR[-2] connection aborted
> CONNECTION ERROR connection aborted
>
> ----
>
> So proton internally does detect connection error.
> Is there a way to get these notifications via pn_messenger_* ?
>
> thanks,
> Bozzo
>
>
>
>

Reply via email to