use of javax.jms.ConnectionConsumer in project ats-framework by Axway.
the class ManagedConnection method close.
@Override
public synchronized void close() throws JMSException {
for (final ConnectionConsumer c : connectionConsumers) try {
c.close();
} catch (final Exception e) {
}
connectionConsumers.clear();
for (final ManagedSession session : sessions) session.shutdown();
sessions.clear();
try {
this.stop();
} catch (final Exception e) {
}
connection.close();
}
Aggregations