I'm working with spring integration.
In this link About Non-blocking I/O, is it talking about server side NIO?
I'm using TcpNioClientConnectionFactory(single-use = true) with CachingClientConnectionFactory. that document make me confused.
I'm working with spring integration.
In this link About Non-blocking I/O, is it talking about server side NIO?
I'm using TcpNioClientConnectionFactory(single-use = true) with CachingClientConnectionFactory. that document make me confused.
It applies to both the client and server sides.
Why the confusion? We read and write on both sides.
Without NIO, on the client side with single use, a new thread will be started and stopped for each request/reply; with NIO a pool of threads is used.