prevent test from pulling in persistence adapter from default location, persistence is not required for this test

This commit is contained in:
gtully 2014-12-05 15:04:11 +00:00
parent bbb2acca2f
commit 3858faaf9d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ import org.apache.activemq.ActiveMQConnectionFactory;
*/ */
public class ManagedConnectionTest extends TestCase { public class ManagedConnectionTest extends TestCase {
private static final String DEFAULT_HOST = "vm://localhost"; private static final String DEFAULT_HOST = "vm://localhost?broker.persistent=false";
private ConnectionManagerAdapter connectionManager = new ConnectionManagerAdapter(); private ConnectionManagerAdapter connectionManager = new ConnectionManagerAdapter();
private ActiveMQManagedConnectionFactory managedConnectionFactory; private ActiveMQManagedConnectionFactory managedConnectionFactory;