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