Author: tabish Date: Wed Dec 6 06:50:16 2006 New Revision: 483099 URL: http://svn.apache.org/viewvc?view=rev&rev=483099 Log: http://issues.apache.org/activemq/browse/AMQCPP-14
Changing the topic name in this test so that thre consumer doens't get messages retroactively from other tests so that the tests will work as expected. Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/expiration/ExpirationTest.cpp Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/expiration/ExpirationTest.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/expiration/ExpirationTest.cpp?view=diff&rev=483099&r1=483098&r2=483099 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/expiration/ExpirationTest.cpp (original) +++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/expiration/ExpirationTest.cpp Wed Dec 6 06:50:16 2006 @@ -129,7 +129,7 @@ cout << sss << endl; session = connection->createSession( Session::AUTO_ACKNOWLEDGE); - destination = session->createTopic( "mytopic" ); + destination = session->createTopic( "expirationTopic" ); producer = session->createProducer( destination ); producer->setDeliveryMode( DeliveryMode::PERSISTANT ); @@ -240,7 +240,7 @@ session = connection->createSession( Session::AUTO_ACKNOWLEDGE); // Create the destination (Topic or Queue) - destination = session->createTopic( "mytopic?consumer.retroactive=true"); + destination = session->createTopic( "expirationTopic?consumer.retroactive=true"); consumer = session->createConsumer( destination );