Reputation: 156
I have created below flow in apache-nifi.
I sent a HL7 message to to listentcp on a specific port and it went through all the steps, but It didn't send any acknowledgement back. What needs to be done for getting acknowledgements?
Upvotes: 1
Views: 849
Reputation: 18670
TCP is a network level protocol which is acknowledging packets at the network level. Needing to send an acknowledgement response on the connection is an application specific protocol which ListenTCP would have no idea about, how would it know what needs to be sent back? and the expected response could be different for every application.
You would need to build a processor similar to ListenTCP, but that was specific to your application protocol that would respond with what your application is expecting. An example of this is NiFi's ListenRELP processor which implements the RELP protocol and sends acknowledgments for each RELP frame it processes.
Upvotes: 1