activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1095928 - /activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
Date Fri, 22 Apr 2011 12:57:47 GMT
Author: chirino
Date: Fri Apr 22 12:57:46 2011
New Revision: 1095928

URL: http://svn.apache.org/viewvc?rev=1095928&view=rev
Log:
Lets report full if there is no codec configured.

Modified:
    activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java

Modified: activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java?rev=1095928&r1=1095927&r2=1095928&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
Fri Apr 22 12:57:46 2011
@@ -477,7 +477,7 @@ public class TcpTransport extends JavaBa
 
 
     public boolean full() {
-        return codec.full();
+        return codec==null || codec.full();
     }
 
     public boolean offer(Object command) {



Mime
View raw message