Browse Source

JMS SingleConnectionFactory performs start call within connection monitor (for Oracle AQ)

conversation
Juergen Hoeller 16 years ago
parent
commit
a8fa8f4942
  1. 2
      org.springframework.jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java

2
org.springframework.jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java

@ -509,8 +509,8 @@ public class SingleConnectionFactory @@ -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;

Loading…
Cancel
Save