Sorry maybe I did not explain clearly. When we make default_container::run, handler is run another thread, right? Then, when I receive on_transport_close event, what I expect is that the thread of handler ends so that I could resume from next line to the default_container::run. So, to try what could make handler thread return, I have tried every thing, stopping container etc.
i.e. (I write as pseudo syntax) default_container(handler).run(); // it NEVER comes to this line! run never returns! How can I achieve that the handler returns when I detect error? Thank you very much! -- View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-Proton-0-14-how-can-i-reconnect-after-timeout-tp7657154p7657513.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
