I am developing an web application which supports TCP connection by Spring Integration. It has two functions.
- send messages to Server and receive reply from Server at a time
- just receive messages from Server
(The application on server is not developed by Spring Integration.)
In this case, TCP Adapters should be used and I need provide to collaborate TCP Outbound and Inbound Channel Adapters. But, my application has a few restrictions.
- this application has no database.
- messages' payload format is already specified. (It means I can not add any correlation data such as a transaction id to payload .
So, I think that collaborating TCP Outbound and Inbound Channel Adapters is difficult. Then, I plan to extend TCP Outbound gateway to add just receiving messages function. How should I extend it ? (or do you have other ideas?)
Thanks in advance.