Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.20.0
-
None
-
Unknown
-
Regression
Description
Hello everyone,
Since CAMEL-18665, it's no longer possible to share a SSLContextParameters configuration between camel-kafka and other components.
Now that the underlying JsseParameters uses the ResourceLoader you need to prefix your path with a "file:" and have something like
file:C:/path/to/my/keystore.p12
But as camel-kafka copies the parameters directly it needs the path without the "file:" prefix, see extract from KafkaConfiguration.applySslConfigurationFromContext()
I don't know what is the right move. Is it to change the JsseParameters class and try to read a file before asking the ResourceLoader or is it to modify the camel-kafka configuration to be able to handle resources?
I appreciate your help on this matter and have a nice day,
Antoine
Attachments
Issue Links
- links to