0

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.

reperion
  • 129
  • 9

1 Answers1

0

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.

Gary Russell
  • 166,535
  • 14
  • 146
  • 179