-
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.
INT-4473: Support prefix bean names with flow id
JIRA: https://jira.spring.io/browse/INT-4473 Previously, dynamic registration of integration flows with components configured with the same `id` would fail with duplicate bean names. Add `useFlowIdAsPrefix()` to the registration builder to enable the option. Then, in the BPP, check the flag before naming the beans. **cherry-pick to 5.0.x** * Polishing according PR comments * Widen `flowNamePrefix` responsibility in the `IntegrationFlowBeanPostProcessor` since we may have many other components in the dynamic flow with the same id, not only consumer endpoints # Conflicts: # spring-integration-core/src/main/java/org/springframework/integration/config/dsl/IntegrationFlowBeanPostProcessor.java # spring-integration-core/src/main/java/org/springframework/integration/dsl/context/IntegrationFlowContext.java # spring-integration-core/src/main/java/org/springframework/integration/dsl/context/StandardIntegrationFlowContext.java # src/reference/asciidoc/dsl.adoc
- Loading branch information
1 parent
d0603a8
commit 48df4f2
Showing
4 changed files
with
110 additions
and
13 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
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