Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async can't be used in EndpointInterceptor #1252

Open
scolem opened this issue Jul 1, 2022 · 1 comment
Open

Async can't be used in EndpointInterceptor #1252

scolem opened this issue Jul 1, 2022 · 1 comment

Comments

@scolem
Copy link

scolem commented Jul 1, 2022

I have a web service, and want to log the SOAP request and response messages. I am attempting to do this in a EndpointInterceptor.

When using a custom logger, which logs messages asynchronously, all async call stop being asynchronous when added to the interceptor.

Here is a small project to demonstrate the issue: https://github.com/scolem/retailerInterface. By adding and removing the injected AsyncService in WSSoapMessageLogger, the tests will either pass or fail.

@scolem
Copy link
Author

scolem commented Jul 1, 2022

Link to original ticket: spring-projects/spring-framework#28686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant