Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently omega-transport-resttemplate RestTemplateConfig creates a RestTemplate bean directly, not take advantage of RestTemplateBuilder (which provided in RestTemplateAutoConfiguration).
This could cause some issues:
- No default or autoconfigured HttpMessageConverters, Interceptors added to it
- Client provided global RestTemplateCustomizers become useless
- Client provided global HttpMessageConverters become useless
In one word, this RestTemplate contains only TransactionClientHttpRequestInterceptor.
So we should useĀ RestTemplateBuilder.
Attachments
Issue Links
- links to