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

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -