This content has been marked as final.
Show 3 replies
-
1. Re: HornetQ, Dead sessions, connections
clebert.suconic Mar 11, 2010 6:18 PM (in response to chrisp.)Look at addFailureListener on ClientSession.
If you need it on the server side, Maybe you could use Interceptor to capture the connections established and add a FailureListener to the Connection.
-
2. Re: HornetQ, Dead sessions, connections
chrisp. Mar 12, 2010 3:12 AM (in response to clebert.suconic)Hi!
Thanks for your reply! That was a good idea. But if a client disconnects without calling close, neither the FailureListener nor the InterceptorListener is called. I think these client are kicked after a timeout. Is there any possibility to become notified in such a situation ?
Greetings,
Chris
-
3. Re: HornetQ, Dead sessions, connections
clebert.suconic Mar 12, 2010 9:42 AM (in response to chrisp.)The FailureListener should be called after TTL. (Time to live)1 of 1 people found this helpful