Reputation: 1902
I'm trying to create an iso8385 TCP server using Spring Integration. A typical scenario would be the following:
I want to keep track of each new TCP connection, and create an identifier for it, in order to associate each processing to the connected client. But I don't know how to do that. The idea would be to have:
Does anyone know how to perform this ?
Upvotes: 0
Views: 405
Reputation: 121177
Actually <int-tcp:tcp-inbound-gateway>
does the stuff for you:
<int-tcp:tcp-connection-factory type="server">
<int-tcp:tcp-inbound-gateway>
correlation
logic is encapsulated in the last oneI have some experience with iso8385
, but I don't think that there is a reason to get deal here with MCC
or terminalId
to correlate messages.
Would be more interest to provide some routing logic for ISO message types
. But it is a different story...
Upvotes: 0