Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
No announcement yet.
Echo Soap Request Header in Soap Response?Page Title Module
An endpoint interceptor seems to be appropriate to implement the logic you're describing.
EndpointInterceptorAdapter is just a convenient class that provides an empty implementation of EndpointInterceptor. If you sublass EndpointInterceptorAdapter, you don't have implement the methods you don't use.
Be aware though of thread saftey issues if you decide to store the request headers in instance fields of your interceptor.