There are cases where decoupling the inbound adapter from the rest of the flow is necessary; but when it's the only entry point, it feels cumbersome to have to define an extra, effectively anonymous channel. This is particularly true when the adapter feeds directly into a chain. If I could put the adapter inside the chain, it would really stand out in the markup that those things were grouped together. Does anyone know why this isn't supported?
<int-http:inbound-adapter channel="channel1" ... /> <int:channel id="channel1" /> <int:service-activator input-channel="channel1" ... />
<int:chain> <int-http:inbound-adapter ... /> <int:service-activator ... /> </int:chain>