I've got a question, i want to implement an input adapter in spring integration using dsl, as an event listener and redirect messages from that event listener to a channel.
desired code:
@Bean
public IntegrationFlow listenerFlow() {
return IntegrationFlows.from(InputAdapterListener.listen())
.channel("ChannelXYZ")
.get();
}
can someone explain to me what would be the implementation of the InputAdatperListener class to support a behaviour like this, or where to look for some examples?