Hi

Requirement:
Read flat files - convert the data into xml format - write the data into a TCP port - retrieve response and print on a log file.

Question:
I have used FlatFileItemReader and created suitable Mapper implementation to read the delimited text file. Can we use StaxEventItemWriter to write XML messages into a TCP port? If yes, how do we do that?

If StaxEventItemWriter does not support writing data to TCP ports, what is the correct way of achieving this objective? Kindly advice.

Thanks
Chandra