Add auto-configuration for Observations in Spring-WS #43564
Labels
status: waiting-for-internal-feedback
An issue that needs input from a member or another Spring Team
type: enhancement
A general enhancement
Milestone
I have added support for Observations in Spring-WS, and the next step would be to add auto-configuration for the ObservationInterceptors.
As far as I can tell, it could perhaps be implemented in the module spring-boot-actuator-autoconfigure under the package
org.springframework.boot.actuate.autoconfigure.observation.webservice.client
ororg.springframework.boot.actuate.autoconfigure.observation.webservice.server
For the WebServiceTemplate, the interceptor could probably be added by implementing a WebServiceTemplateCustomizer that is added to the context.
Condition for activating the configuration class could perhaps be @ConditionalOnBean(ObservationRegistry.class)
For the server Endpoints, the interceptor could probably be added in the addInterceptors-callback in the WsConfigurerAdapter.
Condition for activating the configuration class could perhaps be @ConditionalOnBean(ObservationRegistry.class)
The new Observation was merged in spring-projects/spring-ws#1438 for the issue
spring-projects/spring-ws#1094
This is also related to #15390
The text was updated successfully, but these errors were encountered: