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

TcpNioClientConnectionFactory should implements SchedulingAwareRunnable [INT-3628] #7590

Closed
spring-operator opened this issue Feb 6, 2015 · 1 comment

Comments

@spring-operator
Copy link
Contributor

Jakub Štiller opened INT-3628 and commented

Currently TcpNioClientConnectionFactory implements only Runnable interface. The thread created in the start() method is long lived and should live as long the TcpNioClientConnectionFactory is used. On WebLogic server we got warning that the thread is possible stuck as it reach configured timeout parameter.

TcpNioClientConnectionFactory should implements SchedulingAwareRunnable interface and return true for isLongLived() method (or to have this parameter configurable).

Currently only solution we found is to create sublass of standard TcpNioClientConnectionFactory that implements SchedulingAwareRunnable. But that is not nice soluton. After that we even cannot use TcpConnectionFactoryFactoryBean to create the TcpNioClientConnectionFactory.


Affects: 4.1.2

Referenced from: pull request #1390

@spring-operator
Copy link
Contributor Author

Jakub Štiller commented

Thanks for fix, will wait for 4.2 release.

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

No branches or pull requests

2 participants