activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r999059 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp
Date Mon, 20 Sep 2010 19:11:27 GMT
Author: tabish
Date: Mon Sep 20 19:11:27 2010
New Revision: 999059

URL: http://svn.apache.org/viewvc?rev=999059&view=rev
Log:
Update the transport options to allow transport.trace=true to turn on Command tracing.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp?rev=999059&r1=999058&r2=999059&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp
Mon Sep 20 19:11:27 2010
@@ -97,7 +97,9 @@ Pointer<Transport> TcpTransportFactory::
         }
 
         // If command tracing was enabled, wrap the transport with a logging transport.
-        if( properties.getProperty( "transport.commandTracingEnabled", "false" ) == "true"
) {
+        if( properties.getProperty( "transport.commandTracingEnabled", "false" ) == "true"
||
+            properties.getProperty( "transport.trace", "false" ) == "true" ) {
+
             // Create the Transport for response correlator
             transport.reset( new LoggingTransport( transport ) );
         }



Mime
View raw message