diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpBufferedOutputStream.java b/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpBufferedOutputStream.java index faf6c6fede..9bf4a50006 100755 --- a/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpBufferedOutputStream.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpBufferedOutputStream.java @@ -95,7 +95,7 @@ public class TcpBufferedOutputStream extends FilterOutputStream { writeTimestamp = System.currentTimeMillis(); out.write(b, off, len); } finally { - writeTimestamp = System.currentTimeMillis(); + writeTimestamp = -1; } } }