Gordon Sim wrote:
ConnectionImpl holds weak_ptrs to SessionImpl instances. If all the Session objects referring to a given SessionImpl are allowed to go out of scope, ConnectionImpl treats the session as having been detached and throws a NotAttachedException if there are any incoming frames for the channel the session was attached to.
You might want to consider https://bugzilla.redhat.com/show_bug.cgi?id=488942 as well when looking at this.
I think the clients connection/session model is in need of a re-think. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
