Destroy() must throws Exception

This commit is contained in:
Artem Bilan
2019-09-10 13:46:00 -04:00
parent 2219d3bc3b
commit 0d9d2ff052

View File

@@ -267,7 +267,7 @@ public class KclMessageDrivenChannelAdapter extends MessageProducerSupport {
}
@Override
public void destroy() {
public void destroy() throws Exception {
super.destroy();
this.scheduler.shutdown();
}