Skip to content

TCP Client Connection Factory Improvements #2866

Open
@garyrussell

Description

@garyrussell

Add getConnection(String connectionId) so the client can select which connection it wants (if not open, return null).

Also singleUse serves 2 purposes when true

  • tells the CF to hand out a new connection each time getConnection() is called
  • tells the adapters to close the socket when the send/receive is complete (one-way) or after the reply is sent/received (request/reply).

Split this into two flags sharedConnection and closeAfterCompletion.

See https://stackoverflow.com/questions/55404438/programmatically-create-multiple-connections-for-tcpnetclientconnectionfactory/55404817#55404817

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions