Fix QueueChannel.destroy() (previous commit)

This commit is contained in:
Gary Russell
2020-07-28 17:16:31 -04:00
parent 585da69164
commit c74cd1fedc

View File

@@ -236,7 +236,7 @@ public class QueueChannel extends AbstractPollableChannel implements QueueChanne
}
@Override
public void destroy() {
public void destroy() throws Exception {
super.destroy();
if (this.sizeGauge != null) {
this.sizeGauge.remove();