apache / camel-karavan

Apache Camel Karavan a Low-code Data Integration Platform
https://camel.apache.org
Apache License 2.0
388 stars 133 forks source link

Make Http Uri property optional in the HTTP component #1293

Closed samar-elsayed closed 1 month ago

samar-elsayed commented 1 month ago

Describe the solution you'd like

Related to my last comment in this discussion

I have a use case now where I need to set a dynamic URL in my HTTP component something like ( https://test/${in.headers.var} ) but at the same time set x509HostnameVerifier so I used toD component to do so but I am not able to set x509HostnameVerifier which is making me face the SSL error again that I tried to solve in the first place

so is it possible to do any of the following :

Variant

Vs Code Extension

Container Management (if applicable)

Kubernetes

samar-elsayed commented 1 month ago

I was trying to set Exchange.HTTP_URI header from my process to override the HTTP_URI as shown here

image

but it turned out that I needed to set CamelHttpUri ( which means Exchange.HTTP_URI ) header instead to do the trick