activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kuppe <>
Subject Re: Shutdown hangs
Date Fri, 21 Jul 2006 09:59:13 GMT

Found the problem. If the ServerSocket soTimeout is not set then the
serverSocket.accept() will not return until the next accepted socket. In
this case, when stop is called, it will wait until the run returns in the
TcpTransportServer. If the soTimeout is not set, it wont stop!

I extend the TcpTransportServer in order to implement my own socket
negotiation process. I had removed the soTimeout setting:(
View this message in context:
Sent from the ActiveMQ - User forum at

View raw message