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 2010/11/30 15:10:15 UTC

svn commit: r1040534 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/protocol/MultiProtocol.scala

Author: chirino
Date: Tue Nov 30 14:10:15 2010
New Revision: 1040534

URL: http://svn.apache.org/viewvc?rev=1040534&view=rev
Log:
Fix error when multi protocol is used with SSL

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/protocol/MultiProtocol.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/protocol/MultiProtocol.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/protocol/MultiProtocol.scala?rev=1040534&r1=1040533&r2=1040534&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/protocol/MultiProtocol.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/protocol/MultiProtocol.scala Tue Nov 30 14:10:15 2010
@@ -124,7 +124,7 @@ class MultiProtocolCodec(val protocols: 
 
   def write(value: Any) = throw new UnsupportedOperationException()
 
-  def flush = throw new UnsupportedOperationException()
+  def flush = ProtocolCodec.BufferState.EMPTY
 
   def getWriteCounter = 0L