-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Multi-input Bridge #2708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Pattern(s) might be tricky unless we move annotation processing to later in the context lifecycle; we can't |
Sounds like we need to think about In the past, when I developed applications using Spring Integration, I also thought why there is no fan-in support when we would like to dump several channels to a single one... |
Seems for me we end up with the Although i don't mind to go ahead with proposed feature to avoid even that boilerplate code. 😄 |
- EventDrivenConsumer
MultiInputChannel consumer PoC here... garyrussell@e10722d |
Yeah... The problem is that you don't support But we can continue to play. |
I am trying to avoid too much work in the annotation BPP - if we want to support patterns then we can't resolve channels early. But, yes, some kind of wrapper around the existing consumers should work. |
While it is still hot in mind mind I would like to share it.
Similar trick we should apply for all the Messaging annotations. Might be as a separate issue though, since this one is more about pattern matching support and composite endpoint. |
Yes; I included that in the original description 😄
But, yes, it could apply to all. |
The same concept must be applied for the |
Similar request from community: https://stackoverflow.com/questions/71873822/spring-integration-two-transformers-for-same-method-which-annotated-with-tran |
Fixes spring-projects#2708 There are some requests to use the same service method for different input channels * Make all the messaging annotations as `@Repeatable` with their respective container annotations * Modify `MessagingAnnotationPostProcessor` logic to deal with the mentioned repeatable requirements
Fixes #2708 There are some requests to use the same service method for different input channels * Make all the messaging annotations as `@Repeatable` with their respective container annotations * Modify `MessagingAnnotationPostProcessor` logic to deal with the mentioned repeatable requirements
Uh oh!
There was an error while loading. Please reload this page.
Perhaps
and create multiple bridges.
See spring-cloud/spring-cloud-stream#1582 for one use case.
Also consider adding
@Repeatable(BridgesFrom.class)
to@BridgeFrom
The text was updated successfully, but these errors were encountered: