Class HttpComponentSslBundleAutoConfiguration

java.lang.Object
org.apache.camel.component.http.springboot.HttpComponentSslBundleAutoConfiguration

@AutoConfiguration(after={org.apache.camel.spring.boot.CamelAutoConfiguration.class,HttpComponentAutoConfiguration.class}) @ConditionalOnClass({org.springframework.boot.ssl.SslBundles.class,org.apache.camel.component.http.HttpComponent.class}) @ConditionalOnBean({org.springframework.boot.ssl.SslBundles.class,org.apache.camel.CamelContext.class}) @ConditionalOnProperty(prefix="camel.component.http", name="ssl-bundle") @EnableConfigurationProperties(HttpComponentSslBundleConfigurationProperties.class) public class HttpComponentSslBundleAutoConfiguration extends Object
Auto-configuration for Spring Boot SSL Bundle support in Camel HTTP component.

This configuration bridges Spring Boot SSL Bundles to Camel's HTTP component, enabling centralized SSL configuration and optional certificate hot-reload.

When hot-reload is enabled and certificates are rotated, the connection manager is recreated so new connections use the updated certificates.

Activation: Enabled when property camel.component.http.ssl-bundle is configured.

Hot-Reload: Opt-in feature controlled by camel.component.http.ssl-bundle-hot-reload.

See Also:
  • Constructor Details

    • HttpComponentSslBundleAutoConfiguration

      public HttpComponentSslBundleAutoConfiguration(org.springframework.boot.ssl.SslBundles sslBundles, org.apache.camel.CamelContext camelContext, HttpComponentSslBundleConfigurationProperties configuration)
  • Method Details

    • configureSslBundle

      @PostConstruct public void configureSslBundle()
      Configures SSL bundle on HTTP components and optionally registers hot-reload handler.