We are currently using spring-integration in one of our projects and we are trying to find an easy way to solve the issue mentioned below. This is the first time we use spring-integration so we may be missing something.
We have a set of publish-subscribe channels (sources) that we use to publish events to. On the other hand, we have component that has the capability to subscribe to a channel and receive events from it. We need to collect all the events published on the source channels and publish them into a destination channel, which the component will subscribe to.
We have taken a look to the Bridge component but it generates a copy of the message and that is something we can not afford. Is there any other way of doing this?