ESBCOMP-101 Override close method to close the timer task thread
parent
4774546cfa
commit
22adb186a5
|
@ -68,6 +68,12 @@ public class ThrottlingFilter extends AbstractExchangeFilter {
|
|||
mEndptThrottleMap = new HashMap<EndpointInfo, ThrottlingEndpointInfo>();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
super.close();
|
||||
timer.cancel();
|
||||
}
|
||||
|
||||
/** @see com.sun.jbi.common.qos.messaging.filter.AbstractExchangeFilter#acceptsServiceQuality(com.sun.jbi.common.qos.ServiceQuality) */
|
||||
protected boolean acceptsServiceQuality(ServiceQuality srvcQual) {
|
||||
return (srvcQual instanceof ThrottlingConfig);
|
||||
|
|
Loading…
Reference in New Issue