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
Make EndpointRegistry extends Map<NormalizedEndpointUri, Endpoint> #14066
Conversation
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
You can add a note about this API change in the Camel 4.7 upgrade page |
Probably a good one to run full tests on. |
You likely need to update code at places like camel-rest/src/main/java/org/apache/camel/component/rest/DefaultRestRegistry.java |
You can do a cd components |
this PR needs to fix in the components as commented above |
b85f37d
to
bfcb994
Compare
In theory yes, in practice, no component is affected. The reason is that the I'm actually wondering if that parameter is needed at all, and while we're changing this method, it may be simpler to just make |
Yes that is better as we dont need other kind of parameters at all |
|
67df844
to
8c7bb78
Compare
8c7bb78
to
c1a676c
Compare
Change the
CamelContext.getEndpointRegistry()
to return anEndpointRegistry<NormalizedEndpointUri>
instead of anEndpointRegistry<? extends ValueHolder<String>>
.This is a small incompatible change.