0
votes

I coded some programs for TCP client to read write on socket. Those are ok. My question is that I want to write a client which can send (not required any ack or reply) and a receive (independent of the send).Both needs to communicate to server at same time or simultaneously. Is that possible within same connection fatory ?? If I use two connection factories one for send one for receive ?? Can I have some reference document so I can understand TCP send receive work in flow diagram.

1

1 Answers

0
votes

See Collaborating Outbound and Inbound Channel Adapters.

A pair of channel adapters can use the same connection factory to handle arbitrary messaging in both directions.