activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r707582 - /activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/MDBTest.java
Date Fri, 24 Oct 2008 08:48:42 GMT
Author: gtully
Date: Fri Oct 24 01:48:41 2008
New Revision: 707582

URL: http://svn.apache.org/viewvc?rev=707582&view=rev
Log:
resolve broken test resulting from AMQ-1919

Modified:
    activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/MDBTest.java

Modified: activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/MDBTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/MDBTest.java?rev=707582&r1=707581&r2=707582&view=diff
==============================================================================
--- activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/MDBTest.java (original)
+++ activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/MDBTest.java Fri Oct 24
01:48:41 2008
@@ -131,7 +131,7 @@
 
         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");



Mime
View raw message