Aug 10th, 2011, 01:35 AM
Write XML data into TCP using StaxEventItemWriter
Read flat files - convert the data into xml format - write the data into a TCP port - retrieve response and print on a log file.
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.
Tags for this Thread