Class InternalRestTemplateConfiguration

java.lang.Object
es.kukenan.smartfi.microservice.backoffice.config.InternalRestTemplateConfiguration

@Configuration public class InternalRestTemplateConfiguration extends Object
Internal template configuration.
  • Constructor Details

    • InternalRestTemplateConfiguration

      public InternalRestTemplateConfiguration()
  • Method Details

    • internalRestTemplate

      @Bean @Primary public org.springframework.web.client.RestTemplate internalRestTemplate()
      Create a RestTemplate which owns the responsibility of other ms invocations.
      Returns:
      a RestTemplate which owns the responsibility of other ms invocations.