From a8fa8f49428274d7bed42a1a2c716424d916e415 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 9 Jul 2009 10:27:02 +0000 Subject: [PATCH] JMS SingleConnectionFactory performs start call within connection monitor (for Oracle AQ) --- .../springframework/jms/connection/SingleConnectionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java b/org.springframework.jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java index 4e65ac26e4..66526e8ecc 100644 --- a/org.springframework.jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java +++ b/org.springframework.jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java @@ -509,8 +509,8 @@ public class SingleConnectionFactory } else if (method.getName().equals("start")) { // Handle start method: track started state. - this.target.start(); synchronized (connectionMonitor) { + this.target.start(); started = true; } return null;