Destroy() must throws Exception
This commit is contained in:
@@ -267,7 +267,7 @@ public class KclMessageDrivenChannelAdapter extends MessageProducerSupport {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() {
|
||||
public void destroy() throws Exception {
|
||||
super.destroy();
|
||||
this.scheduler.shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user