mirror of https://github.com/apache/activemq.git
resolve broken test resulting from AMQ-1919
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@707582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe50dd693f
commit
c96cdf04d2
|
@ -131,7 +131,7 @@ public class MDBTest extends TestCase {
|
|||
|
||||
ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
|
||||
Connection connection = factory.createConnection();
|
||||
Session session = connection.createSession(false, 0);
|
||||
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
|
||||
|
||||
ActiveMQResourceAdapter adapter = new ActiveMQResourceAdapter();
|
||||
adapter.setServerUrl("vm://localhost?broker.persistent=false");
|
||||
|
|
Loading…
Reference in New Issue