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

Health check CamelBeanBuildItem should use the check id as the name #3470

Closed
jamesnetherton opened this issue Jan 18, 2022 · 0 comments
Closed
Assignees
Milestone

Comments

@jamesnetherton
Copy link
Contributor

There's a BuildStep in the microprofile-health extension which discovers health checks and creates a CamelBeanBuildItem for each of them. At present the simple name of the health check class is used as the bean name. We should use the id assigned to the check since there are some places where this is referenced in Camel.

E.g camel.health.contextEnabled=false does not work because the ContextHealthCheck cannot be found by the expected registry lookup key.

@jamesnetherton jamesnetherton added this to the 2.7.0 milestone Jan 18, 2022
@jamesnetherton jamesnetherton self-assigned this Jan 18, 2022
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Jan 20, 2022
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Jan 20, 2022
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

No branches or pull requests

1 participant