You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/10/19 15:26:33 UTC
svn commit: r586432 -
/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/OpenWireFormat.cpp
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(