This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.4.x by this push:
new 84a35147deb Fix camel-http doc about keystore should prefix with file
to load from file system
84a35147deb is described below
commit 84a35147deb01ce8ebbaf809cec7b126445c9f70
Author: Claus Ibsen <[email protected]>
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>