Class InternalRestTemplateConfiguration
java.lang.Object
es.kukenan.smartfi.microservice.firm.configuration.InternalRestTemplateConfiguration
Internal template configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.client.RestTemplateCreate a RestTemplate which owns the responsibility of other ms invocations.
-
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.
-