-
Notifications
You must be signed in to change notification settings - Fork 1.1k
UrlConnection timeout required for FeedEntryMessageSource #3677
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
Comments
It looks like the best way is to expose an See the linked SO thread for a workaround. Will fix this soon. |
Actually, I don't think we can do that - the Maybe a |
Why is that, Gary?
Essentially the same is done in the:
|
Right; but the reader is created at runtime in |
That said, given that the |
I see your point. So, yeah... Turning this issue to |
Fixes spring-projects#3677 If there is need to have a `URLConnection` customized, the `UrlResource` has to be used instead of plain `URL` injection into the `FeedEntryMessageSource`
So does this mean it will be a sequential execution for multiple threads accessing different urls? |
I’m not sure why make such an assumption, but it probably deserves its own SO thread with much more info |
Expected Behavior
FeedEntryMessageSource should timeout the connection when server is unresponsive for desired amount of time
Current Behavior
FeedEntryMessageSource holds the connection infinitely which is blocking other threads.
Here is stackoverflow url: https://stackoverflow.com/questions/69822045/threads-are-being-blocked-while-receiving-data-from-rss-feed-adapter?noredirect=1#comment123697506_69822045
The text was updated successfully, but these errors were encountered: