List of usage examples for org.springframework.integration.channel.interceptor MessageSelectingInterceptor MessageSelectingInterceptor
public MessageSelectingInterceptor(MessageSelector... selectors)
From source file:com.nayidisha.slowglow.config.SpringMessagingConfig.java
/** * Wraps our payload type selector as a channel interceptor * /* w w w . j ava 2s . c o m*/ * @return */ @Bean(name = "messageSelectingInterceptor") public ChannelInterceptor messageSelectingInterceptor() { MessageSelectingInterceptor interceptor = new MessageSelectingInterceptor(payloadTypeSelector()); return interceptor; }