108109110111112113114115
public void close() throws BridgeException { try { connection.close(); } catch (JMSException ex) { throw new CommunicationException(this, ex); } }
231232233234235236237238239240
} catch (JMSException ex) { if (firstTime) throw new PortConfigurationException(name, "JMS connection could not be initiated", ex); else throw new CommunicationException(this, ex); } /* success */ log.info("Port " + name + " connection restored"); }