Author: tabish
Date: Fri Jan 9 11:53:30 2009
New Revision: 733137
URL: http://svn.apache.org/viewvc?rev=733137&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-100
Some initial refactoring work that leads to V3 and addition of Failover.
Modified:
activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionTest.cpp
Modified:
activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionTest.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionTest.cpp?rev=733137&r1=733136&r2=733137&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionTest.cpp
(original)
+++
activemq/activemq-cpp/trunk/src/test/activemq/core/ActiveMQConnectionTest.cpp
Fri Jan 9 11:53:30 2009
@@ -67,7 +67,7 @@
}
// Create the transport.
- transport = factory->create( uri );
+ transport = factory->createComposite( uri );
if( transport == NULL ){
CPPUNIT_ASSERT( false );
}
@@ -206,7 +206,7 @@
}
// Create the transport.
- transport = factory->create( uri );
+ transport = factory->createComposite( uri );
if( transport == NULL ){
CPPUNIT_ASSERT( false );
}
@@ -255,7 +255,7 @@
// Default to Stomp
properties->setProperty( "wireFormat", "openwire" );
- decaf::net::URI uri( "mock://mock?wireFormat=stomp" );
+ decaf::net::URI uri( "mock://mock?wireFormat=openwire" );
transport::TransportFactory* factory =
transport::TransportRegistry::getInstance().findFactory( "mock" );
@@ -264,7 +264,7 @@
}
// Create the transport.
- transport = factory->create( uri );
+ transport = factory->createComposite( uri );
if( transport == NULL ){
CPPUNIT_ASSERT( false );
}