@Override public void destroy() { super.destroy(); for (MessageChannelMetrics monitor : channels) { logger.info("Summary on shutdown: " + monitor); } for (MessageHandlerMetrics monitor : handlers) { logger.info("Summary on shutdown: " + monitor); } }
@Override public void destroy() { super.destroy(); this.channelsByName.clear(); this.handlersByName.clear(); this.sourcesByName.clear(); for (MessageChannelMetrics monitor : this.channels) { logger.info("Summary on shutdown: " + monitor); } for (MessageHandlerMetrics monitor : this.handlers) { logger.info("Summary on shutdown: " + monitor); } }