git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929488 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-03-31 11:51:49 +00:00
parent 45cb6a0c75
commit b94342f604
1 changed files with 6 additions and 1 deletions

View File

@ -90,7 +90,12 @@ public class ConnectionPool {
public void start() throws JMSException {
if (started.compareAndSet(false, true)) {
connection.start();
try {
connection.start();
} catch (JMSException e) {
started.set(false);
throw(e);
}
}
}