Spring ChannelInterceptorAdapter已弃用-替换内容是什么?

Spring ChannelInterceptorAdapter已弃用-替换内容是什么?,spring,Spring,我正在使用spring,收到一条警告,ChannelInterceptorAdapter已被弃用。我很难弄清楚什么是替换类。有人能给我指出正确的方向吗?如果使用Java8及以上版本,请直接使用ImplementChannelInterceptor

我正在使用spring,收到一条警告,
ChannelInterceptorAdapter
已被弃用。我很难弄清楚什么是替换类。有人能给我指出正确的方向吗?

如果使用Java8及以上版本,请直接使用ImplementChannelInterceptor