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
Add
getConnection(String connectionId)so the client can select which connection it wants (if not open, returnnull).Also
singleUseserves 2 purposes when truegetConnection()is calledSplit this into two flags
sharedConnectionandcloseAfterCompletion.See https://stackoverflow.com/questions/55404438/programmatically-create-multiple-connections-for-tcpnetclientconnectionfactory/55404817#55404817