public void close() throws MessagingException { delegate.close(); }
public void destroy() { try { dc.close(); } catch (MessagingException e) { logger.warn("Error when closing the delivery channel", e); } componentRegistry.getNmr().getEndpointRegistry().unregister(componentEndpoint, properties); }
if ( null != dc ) dc.close();