mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@601011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f472000467
commit
ddff5e5c16
|
@ -105,9 +105,7 @@ public class InactivityMonitor extends TransportFilter {
|
|||
// TODO: use a thread pool for this..
|
||||
Thread thread = new Thread("ActiveMQ: Inactivity Handler: "+next.getRemoteAddress()) {
|
||||
public void run() {
|
||||
synchronized (readChecker) {
|
||||
onException(new InactivityIOException("Channel was inactive for too long: "+next.getRemoteAddress()));
|
||||
}
|
||||
};
|
||||
};
|
||||
thread.setDaemon(true);
|
||||
|
|
Loading…
Reference in New Issue