Commit 753255c
Fix ThreadAffinityClientConnectionFactory
`isSingleUse()` should return `false` by default - the whole point is
to bind a connection to a thread. The TACCF should have its own flag
not return the delegate's.
Also, the `TcpReceivingChanneladapter` calls `closeConnection(connectionId)`.
This should be a no-op for the TACCF since the proper way to close a connection
is to call `releaseConnection()` on the thread to which the connection is bound.
**cherry-pick to 5.0.x**1 parent d4b7cef commit 753255c
File tree
1 file changed
+1
-16
lines changed- spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection
1 file changed
+1
-16
lines changedLines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 301 | | |
317 | 302 | | |
318 | 303 | | |
| |||
370 | 355 | | |
371 | 356 | | |
372 | 357 | | |
373 | | - | |
| 358 | + | |
374 | 359 | | |
375 | 360 | | |
376 | 361 | | |
| |||
0 commit comments