Closed
Description
Affects Version(s): 5.1.3
Enhancement
AbstractRouterSpec.defaultOutputChannel takes both a channelName and a MessageChannel.
However, RouterSpec.channelMapping only takes a channelName, but not a MessageChannel.
When using the DSL, I try to avoid explicit channel names and prefer the IntegrationFlow.getInputChannel()
method to look up the input channel for a flow.
Currently I must use "mySubflow.input" for the channelMapping
but I can use defaultOutputChannel(mySubFlow().getInputChannel()) for the default.