Skip to content

Improve NIO Thread Handling [INT-2419] #6403

@spring-operator

Description

@spring-operator

Gary Russell opened INT-2419 and commented

The referenced forum post identifies some shortcomings in thread handling when using NIO. To address these issues, we should consider

  • Allowing the pool-size to take the form "n-m" to support a variable pool instead of the current fixed pool.
  • Exposing an attribute to allow setting the PipedInputStream's buffer size in order to avoid reader threads blocking when large data is received and no consumer thread is available.
  • Changing the reader thread to be cognizant of the available bytes in the piped stream and time out if space is not made available in a reasonable time.

Affects: 2.1 GA

Reference URL: http://forum.springsource.org/showthread.php?121807-Simple-TCP-Client-Spring-Integration-(-Not-connecting)

Issue Links:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions