mercredi 8 avril 2015

How to connect a client to multiple server sockets?

I'm using spring-integration to connect a client to a server socket using the following components:



DirectChannel
TcpConnectionFactoryFactoryBean
TcpOutboundGateway
@MessagingGateway


Problem: the TcpConnectionFactoryFactoryBean is tied to a specific socket port. I'd like to connect the client to multiple server sockets.


How could I achieve this? Is that possible at all?


Aucun commentaire:

Enregistrer un commentaire