Skip to content

Commit 6e25ca8

Browse files
committed
JMS SingleConnectionFactory uses minimized number of start calls (for Oracle AQ; SPR-5987)
1 parent 23a1d07 commit 6e25ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.springframework.jms/src/test/java/org/springframework/jms/core/JmsTemplateTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2007 the original author or authors.
2+
* Copyright 2002-2009 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -275,7 +275,7 @@ public void testSessionCallbackWithinSynchronizedTransaction() throws Exception
275275
template.setConnectionFactory(scf);
276276

277277
mockConnection.start();
278-
connectionControl.setVoidCallable(3);
278+
connectionControl.setVoidCallable(1);
279279
// We're gonna call getTransacted 3 times, i.e. 2 more times.
280280
mockSession.getTransacted();
281281
sessionControl.setReturnValue(useTransactedSession(), 2);

0 commit comments

Comments
 (0)