Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update the SSL instructions for connecting with keystore and Spring DSL

...

Code Block
HttpComponent httpComponent = getContext().getComponent("http", HttpComponent.class);
httpComponent.setHttpClientConfigurer(new MyHttpClientConfigurer());

If you are doing this using the Spring DSL, you can specify your HttpClientConfigurer using the URI. For example:

Code Block

<bean id="myHttpClientConfigurer"
 class="my.https.HttpClientConfigurer">
</bean>

<to uri="https://myhostname.com:443/myURL?httpClientConfigurerRef=myHttpClientConfigurer"/> 

As long as you implement the HttpClientConfigurer and configure your keystore and truststore as described above, it will work fine.

Include Page
CAMEL:Endpoint See Also
CAMEL:Endpoint See Also

...