This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new e5bb7e995a4 Fix camel-http doc about keystore should prefix with file 
to load from file system
e5bb7e995a4 is described below

commit e5bb7e995a4d745dfb6164eb04ec443a6642068a
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Apr 25 19:51:47 2024 +0200

    Fix camel-http doc about keystore should prefix with file to load from file 
system
---
 components/camel-http/src/main/docs/http-component.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-http/src/main/docs/http-component.adoc 
b/components/camel-http/src/main/docs/http-component.adoc
index db3d43fe018..022694f43fb 100644
--- a/components/camel-http/src/main/docs/http-component.adoc
+++ b/components/camel-http/src/main/docs/http-component.adoc
@@ -388,7 +388,7 @@ Programmatic configuration of the component
 [source,java]
 
---------------------------------------------------------------------------------------
 KeyStoreParameters ksp = new KeyStoreParameters();
-ksp.setResource("/users/home/server/keystore.jks");
+ksp.setResource("file:/users/home/server/keystore.jks");
 ksp.setPassword("keystorePassword");
 
 KeyManagersParameters kmp = new KeyManagersParameters();
@@ -413,7 +413,7 @@ Spring DSL based configuration of endpoint
     <camel:keyManagers
         keyPassword="keyPassword">
       <camel:keyStore
-          resource="/users/home/server/keystore.jks"
+          resource="file:/users/home/server/keystore.jks"
           password="keystorePassword"/>
     </camel:keyManagers>
   </camel:sslContextParameters>

Reply via email to