-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-9709: Fix
IntegrationFlow
for input channel resolution
Fixes: #9709 Issue link: #9709 The Java DSL loses an `inputChannel` when existing channel is referenced by its name. Then the target IntegrationFlow does not contain a bean reference for this channel and when we call its `getInputChannel()` we got something from middle of the flow. However, that `inputChannel` is really expected to be an input for the flow. * Fix `IntegrationFlowBeanPostProcessor` to get a bean by `MessageChannelReference` and populate it into `targetIntegrationComponents` as we do for newly created `DirectChannel` if there is no bean for provided `MessageChannelReference` **Auto-cherry-pick to `6.3.x`**
- Loading branch information
1 parent
b1032a7
commit 4d84220
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters