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

Popular posts from this blog

javascript - How to diff two immutable objects -

c# - How can I have the VS Debugger break in the correct location for exceptions thrown in Async methods in a Console App? -

javascript - React.js: onClick function from child to parent -