spring - Interceptor for http outbound gateway -
has sprint integration http outbound gateway has configuration property add interceptor org.springframework.web.client.resttemplate ?
i want intercept httprequest adding security information in request (like interceptor property in ws-ouboundgatewy) ,but not see interceptor configuration option in http outbound gateway?.
do have other option achieve functionality ?
you can inject <int-http:outbound-gateway>
custom resttemplate
bean using rest-template
attribute on first one.
but other side don't see mentions interceptor logic in resttemplate
...
Comments
Post a Comment