Renjith Narayanan created CAMEL-23338:
-----------------------------------------
Summary: In Opensearch component, provide option to set
OpenSearchClient
Key: CAMEL-23338
URL: https://issues.apache.org/jira/browse/CAMEL-23338
Project: Camel
Issue Type: Improvement
Components: camel-opensearch
Affects Versions: 4.19.0
Reporter: Renjith Narayanan
When connecting to AWS Opensearch service, we could provide the option to set a
custom OpenSearchClient that uses AWS transport options, http client and
credentials provider. Similar feature is provided in other AWS specific
components like Kinesisfirehose and Lambda . The route should look like below .
_from(KAMELET_SOURCE)_
_.to(_
_opensearch(asParam(CLUSTER_NAME))_
_.operation(asParam(OPERATION))_
_.disconnect(asParam(DISCONNECT))_
_.advanced()_
_.openSearchClient("#" + asParam(OPENSEARCH_CLIENT_BEAN))._
_getUri()_
_);_
I am currently working on the changes. Will raise a PR once done.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)