Spring Integration + file reading message source _ Inbound Channel Adapter + Outbound Gateway
问题 For File reading message source Inbound Adapter and transformer with annotations is configured as below @Bean @InboundChannelAdapter(autoStartup = "false", value = "incomingchannel", poller = @Poller("custompoller")) public MessageSource<File> fileReadingMessageSource() { } @Transformer(inputChannel = "incomingchannel", outputChannel = "jobLaunchChannel") public JobLaunchRequest toRequest(Message<File> message) throws Exception { } Now I want to change the Transformer to refer to a reply