[ 
https://issues.apache.org/jira/browse/CAMEL-20954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-20954:
--------------------------------
    Priority: Minor  (was: Major)

> Cannot share SSLContextParameters between camel-kafka and other components
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-20954
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20954
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.20.0
>            Reporter: Antoine DESSAIGNE
>            Priority: Minor
>
> 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
> {code}
> file:C:/path/to/my/keystore.p12
> {code}
> But as camel-kafka copies the parameters directly it needs the path without 
> the "file:" prefix, see [extract from 
> KafkaConfiguration.applySslConfigurationFromContext()|https://github.com/apache/camel/blob/camel-4.4.3/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java#L571]
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to