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 2009/03/16 15:23:46 UTC
svn commit: r754903 -
/activemq/activemq-cpp/trunk/src/main/activemq/library/ActiveMQCPP.cpp
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() );
}