fix last of broken unit test after fix for AMQ-1919

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@691619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-09-03 14:10:18 +00:00
parent 1e73d70d83
commit 874e935abb
4 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ public class JMSUsecaseTest extends JmsTestSupport {
// Send a message to the broker.
connection.start();
Session session = connection.createSession(false, Session.SESSION_TRANSACTED);
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
destination = createDestination(session, destinationType);
sendMessages(session, destination, 5);

View File

@ -43,7 +43,7 @@ public class JmsQueueBrowserTest extends JmsTestSupport {
* @throws Exception
*/
public void testReceiveBrowseReceive() throws Exception {
Session session = connection.createSession(false, 0);
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
ActiveMQQueue destination = new ActiveMQQueue("TEST");
MessageProducer producer = session.createProducer(destination);
MessageConsumer consumer = session.createConsumer(destination);

View File

@ -89,7 +89,7 @@ public class TempDestLoadTest extends EmbeddedBrokerTestSupport {
super.setUp();
connection = createConnection();
connection.start();
session = connection.createSession(false, 0);
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
}

View File

@ -93,10 +93,10 @@ public class TempQueueMemoryTest extends EmbeddedBrokerTestSupport {
super.setUp();
serverConnection = createConnection();
serverConnection.start();
serverSession = serverConnection.createSession(false, 0);
serverSession = serverConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);
clientConnection = createConnection();
clientConnection.start();
clientSession = clientConnection.createSession(false, 0);
clientSession = clientConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);
serverDestination = createDestination();
}