[hornetq-commits] JBoss hornetq SVN: r8612 - trunk/src/main/org/hornetq/core/remoting/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Dec 7 21:09:53 EST 2009
Author: clebert.suconic at jboss.com
Date: 2009-12-07 21:09:52 -0500 (Mon, 07 Dec 2009)
New Revision: 8612
Modified:
trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java
Log:
Possible fix for ChannelImpl
Modified: trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java 2009-12-08 01:06:31 UTC (rev 8611)
+++ trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java 2009-12-08 02:09:52 UTC (rev 8612)
@@ -64,8 +64,6 @@
private final Object sendLock = new Object();
- private final Object sendBlockingLock = new Object();
-
private boolean failingOver;
private final int confWindowSize;
@@ -194,7 +192,7 @@
// Synchronized since can't be called concurrently by more than one thread and this can occur
// E.g. blocking acknowledge() from inside a message handler at some time as other operation on main thread
- synchronized (sendBlockingLock)
+ synchronized (sendLock)
{
packet.setChannelID(id);
More information about the hornetq-commits
mailing list