My question may be a repeating one.. but I was unable to find answer for this..
Our team is evaluating Spring Integration to replace the Message Broker flows.. Meanwhile I am writing the integration for consuming two different web service where in a single configuration I have defined separate channels for each web service outbound-gateway. I figured out to use chaining to reduce the channel definition between the endpoints & it works well.
All i need to ask is, is it possible to share the same channel between various web service outbound-gateway? Can I define only one channel where 2 web service outbound will be listening for messages?
If yes then how will SI identify that message-1 on channel-1 is for gateway-1 and message-2 on channel-1 is for gateway-2 and so on? Is it necessary to define a unique channel for each web service outbound gateway?
-Thanks MS