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 2010/09/20 21:11:27 UTC

svn commit: r999059 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/tcp/TcpTransportFactory.cpp

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 ) );
         }