How can I have 2 channels output to a single channel with spring integration without using XML. Similar to the following question Multiple channel's message comes into single channel
I have 2 PollableChannel beans in my context that I wish to route messages from both (non aggregated) to a single @ServiceActivator, i.e. accomplishing something like the following:
@Bean("Channel1") PollableChannel c1() {...}
@Bean("Channel2") PollableChannel c2() {...}
?? How to interleave/combine Channel1 and Channel2 into a single channel
...
@ServiceActivator(inputChannel = "Channel1and2")
void handle(msg: MyMessage) {...}