public interface VetoCapableInterceptor
ChannelInterceptor
s implementing this
interface can veto global interception of a particular channel.
Could be used, for example, when an interceptor itself writes to an output channel
(which should not be intercepted with this interceptor).Modifier and Type | Method and Description |
---|---|
boolean |
shouldIntercept(String beanName,
InterceptableChannel channel) |
boolean shouldIntercept(String beanName, InterceptableChannel channel)
beanName
- The channel name.channel
- The channel that is about to be intercepted.