Open johkin opened 2 weeks ago
Ping @corneil
@johkin Thanks for this great contribution.
I would suggest adding something like: Assert.notNull(observation, "Expected observation in messageContext");
at appropriate places.
I did some minor restructuring of the code to improve readability and error-handling/logging.
The method used to find the root element is identical in both interceptors, could be and improvement to refactor this to a helper-class? On the other hand, this requires the helper to be injected in the interceptors and creates another dependency.
Initial implementation of observation for spring-ws.
Please feel free to comment and provide feedback.
1094