activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r601011 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
Date Tue, 04 Dec 2007 17:21:55 GMT
Author: rajdavies
Date: Tue Dec  4 09:21:54 2007
New Revision: 601011

URL: http://svn.apache.org/viewvc?rev=601011&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1512

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java?rev=601011&r1=601010&r2=601011&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
Tue Dec  4 09:21:54 2007
@@ -105,9 +105,7 @@
             // 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);



Mime
View raw message