qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: QPID Proton 0.19 connection.close() does not close remote connection
Date Thu, 22 Feb 2018 08:30:39 GMT
On 22/02/18 07:53, andi welchlin wrote:
> Hello Gordon,
> thank you for the hint. This was exactly what I needed.
> Now I call close and in the method on_connection_closed() I stop the
> container.
> The connection is then closed remotely.
> Would be nice to reflect this in the Proton examples.

When the container has nothing left to do, e.g. if the last socket 
closes and is removed from the loop and there are no timer actions 
pending or anything, it will automatically exit. The examples mostly 
rely on that.

To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message