}
try {
final Connection connection = m_manager.createConnection(m_configuration);
m_manager.addConnection(m_configuration.getName(), connection);
if (logger.isInfoEnabled()) {
logger.info("Successfully reconnected JMS connection: " + m_configuration.getName());
}
}
catch (NamingException e) {
if (logger.isWarnEnabled()) {
logger.warn("Failed to reconnect.",e);