git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@601011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-12-04 17:21:54 +00:00
parent f472000467
commit ddff5e5c16
1 changed files with 0 additions and 2 deletions

View File

@ -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);