Skip to content
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

Ref #553: fix usage of routeBuilder in blueprint #554

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

f2par0
Copy link
Collaborator

@f2par0 f2par0 commented Dec 6, 2024

fixes #553
Cause :
The name "route" is looked up in the DefaultVariableRepositoryFactory, so if there is an object named "route" with a different type, it fails.

Solution :
Exception should not be thrown when an object with matching name but different type is found, just return null in this case since the DefaultRegistry does not handle the NoSuchBeanException

@f2par0 f2par0 requested a review from essobedo December 6, 2024 21:40
@essobedo essobedo merged commit a55ec50 into apache:main Dec 9, 2024
1 check passed
@essobedo essobedo deleted the fdeparscau/fix/routebuilder branch December 9, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception when blueprint references a routeBuilder bean
2 participants