Class FederationFeignHttpClientProvider


  • @Component
    public class FederationFeignHttpClientProvider
    extends Object
    Creates a dedicated http client used by Feign when performing http calls to the Federation Gateway Service.
    • Constructor Detail

      • FederationFeignHttpClientProvider

        public FederationFeignHttpClientProvider​(FederationGatewayConfig config)
        Construct Provider.
        Parameters:
        config - .
    • Method Detail

      • createFeignClient

        @Bean
        public feign.Client createFeignClient()
        Creates a FeignClient.
      • createConnectionManager

        @Bean
        public org.springframework.cloud.commons.httpclient.ApacheHttpClientConnectionManagerFactory createConnectionManager()
        Creates connection manager.
        Returns:
        ApacheHttpClientConnectionManagerFactory.