You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/04/22 14:57:47 UTC

svn commit: r1095928 - /activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java

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) {