activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r754903 - /activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp
Date Mon, 16 Mar 2009 14:23:46 GMT
Author: tabish
Date: Mon Mar 16 14:23:46 2009
New Revision: 754903

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

Wire in the FailoverTransportFactory to the TransportRegistry so live testing can be done
now.

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp

Modified: activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp?rev=754903&r1=754902&r2=754903&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp Mon Mar 16 14:23:46
2009
@@ -26,12 +26,14 @@
 
 #include <activemq/transport/mock/MockTransportFactory.h>
 #include <activemq/transport/tcp/TcpTransportFactory.h>
+#include <activemq/transport/failover/FailoverTransportFactory.h>
 
 using namespace activemq;
 using namespace activemq::library;
 using namespace activemq::transport;
 using namespace activemq::transport::tcp;
 using namespace activemq::transport::mock;
+using namespace activemq::transport::failover;
 using namespace activemq::wireformat;
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -75,5 +77,7 @@
         "tcp", new TcpTransportFactory() );
     TransportRegistry::getInstance().registerFactory(
         "mock", new MockTransportFactory() );
+    TransportRegistry::getInstance().registerFactory(
+        "failover", new FailoverTransportFactory() );
 
 }



Mime
View raw message