Skip to content

Commit

Permalink
Elasticsearch-search-source won't let me define basic authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Sep 30, 2022
1 parent f4da99a commit 3712f21
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ spec:
beans:
- name: local-es
type: "#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent"
properties:
user: "{{?user}}"
password: "{{?password}}"
from:
uri: timer:tick
parameters:
Expand All @@ -110,8 +113,6 @@ spec:
indexName: "{{indexName}}"
hostAddresses: "{{hostAddresses}}"
enableSSL: "{{enableSSL}}"
user: "{{?user}}"
password: "{{?password}}"
- marshal:
json:
library: Gson
Expand Down

0 comments on commit 3712f21

Please sign in to comment.