mirror of https://github.com/apache/activemq.git
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:
parent
1e73d70d83
commit
874e935abb
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue