activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r506661 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireCommandWriter.cpp
Date Mon, 12 Feb 2007 21:19:37 GMT
Author: tabish
Date: Mon Feb 12 13:19:37 2007
New Revision: 506661

URL: http://svn.apache.org/viewvc?view=rev&rev=506661
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireCommandWriter.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireCommandWriter.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireCommandWriter.cpp?view=diff&rev=506661&r1=506660&r2=506661
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireCommandWriter.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireCommandWriter.cpp
Mon Feb 12 13:19:37 2007
@@ -58,6 +58,9 @@
         }
 
         openWireFormat->marshal( command, dataOutputStream );
+
+        // Now ensure that it gets sent.
+        dataOutputStream->flush();
     }
     AMQ_CATCH_RETHROW( CommandIOException )
     AMQ_CATCH_EXCEPTION_CONVERT( ActiveMQException, CommandIOException )



Mime
View raw message