title: looking for Bean Configuration using annotation example on Spring Integration ChannelInterceptor with patterns name
body: <p>I implemented the ChannelInterceptor and got it working by configuring on xml. But it is not working with annotation based bean configuration.</p>
  
  <p>trying to bring this to work - </p>
  
  <pre><code>@Bean
  @ConditionalOnProperty(name="enableLog", havingValue="true")
  @GlobalChannelInterceptor(patterns="${message.input.channel},${message.output.channel},${message.error.channel},${message.exception.channel}")
  public ChannelInterceptor messageChannelInterceptor() {
      ChannelInterceptor channelInterceptor = new MessageChannelInterceptor();
      return channelInterceptor;
  }
  </code></pre>