INT-4283: Restore Registration of Missing Comps
JIRA: https://jira.spring.io/browse/INT-4282 Unrecognized components were not added to `targetIntegrationComponents` causing problems such as messge-driven components not starting.
This commit is contained in:
committed by
Artem Bilan
parent
bb2ee967f2
commit
d90d4e4d8f
@@ -66,6 +66,7 @@ import org.springframework.util.StringUtils;
|
||||
* if necessary.
|
||||
*
|
||||
* @author Artem Bilan
|
||||
* @author Gary Russell
|
||||
* @since 5.0
|
||||
*/
|
||||
public class IntegrationFlowBeanPostProcessor implements BeanPostProcessor, BeanFactoryAware,
|
||||
@@ -252,8 +253,9 @@ public class IntegrationFlowBeanPostProcessor implements BeanPostProcessor, Bean
|
||||
targetIntegrationComponents.put(component, gatewayId);
|
||||
}
|
||||
else {
|
||||
String generateBeanName = generateBeanName(component, entry.getValue());
|
||||
registerComponent(component, generateBeanName, flowBeanName, registerSingleton);
|
||||
String generatedBeanName = generateBeanName(component, entry.getValue());
|
||||
registerComponent(component, generatedBeanName, flowBeanName, registerSingleton);
|
||||
targetIntegrationComponents.put(component, generatedBeanName);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user