You cannot use TextLine codec for sending/receiving XML content, cause textline codec uses a new line as delimiter, for XML the semantics are completely different.
Am not quite sure if the proposed MINA xml codec is implemented but you can take a look at the one used in Vysper[1] project. [1] http://mina.apache.org/vysper/index.html On Mon, Jul 11, 2011 at 11:41 AM, sushmita chandra <flightsoffantasy...@gmail.com> wrote: > Hi, > > I am using Mina Endpoint to receive a XML File. I am not able to receive > it on the mina end point that i have opened.When i specify the codec as > textline, i could read only one line. Can some one help me to read the > complete file and specify what codec that i have to use? > > -- > Thanks and Regards, > Sushmita Chandra > > > > -- > Thanks and Regards, > Sushmita Chandra > -- Kiran Ayyagari