activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r586432 - /activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireFormat.cpp
Date Fri, 19 Oct 2007 13:26:33 GMT
Author: tabish
Date: Fri Oct 19 06:26:32 2007
New Revision: 586432

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

Added the support for negotiating the version of openwire which now support V1 and V2

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

Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireFormat.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireFormat.cpp?rev=586432&r1=586431&r2=586432&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireFormat.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireFormat.cpp Fri
Oct 19 06:26:32 2007
@@ -99,7 +99,6 @@
 ////////////////////////////////////////////////////////////////////////////////
 void OpenWireFormat::setVersion( int version ) throw ( IllegalArgumentException ) {
 
-    std::cout << "OpenWireFormat::setVersion - called for with V" << version
<< std::endl;
     if( version == this->getVersion() ){
         return;
     }
@@ -111,11 +110,9 @@
     switch( this->version ){
     case 1:
         v1::MarshallerFactory().configure( this );
-        std::cout << "setting to V1" << std::endl;
         break;
     case 2:
         v2::MarshallerFactory().configure( this );
-        std::cout << "setting to V2" << std::endl;
         break;
     default:
         throw IllegalArgumentException(



Mime
View raw message