}
@Transformer(inputChannel="foo")
@Bean
public MessageHandler transform() {
MessageTransformingHandler transformingHandler = new MessageTransformingHandler(new MethodInvokingTransformer(helpers(), "duplicate"));
transformingHandler.setOutputChannel(bar());
return transformingHandler;
}