[hornetq-commits] JBoss hornetq SVN: r8613 - trunk/src/main/org/hornetq/core/remoting/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Dec 7 21:28:02 EST 2009
Author: clebert.suconic at jboss.com
Date: 2009-12-07 21:28:02 -0500 (Mon, 07 Dec 2009)
New Revision: 8613
Modified:
trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java
Log:
Reverting change for now
Modified: trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java 2009-12-08 02:09:52 UTC (rev 8612)
+++ trunk/src/main/org/hornetq/core/remoting/impl/ChannelImpl.java 2009-12-08 02:28:02 UTC (rev 8613)
@@ -64,6 +64,8 @@
private final Object sendLock = new Object();
+ private final Object sendBlockingLock = new Object();
+
private boolean failingOver;
private final int confWindowSize;
@@ -192,7 +194,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 (sendLock)
+ synchronized (sendBlockingLock)
{
packet.setChannelID(id);
More information about the hornetq-commits
mailing list