Re: Premature End Of File Error in XML

2016-06-26 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/why-is-my-message-body-empty.html And next time use the @user mailing list / user forum - not dev. On Mon, Jun 27, 2016 at 7:14 AM, Varsha167 wrote: > I am trying to parse an XML file through a Camel Code. This is a portion of > my Camel Code where I am

RE: Premature End Of File Error in XML

2016-06-26 Thread Siano, Stephan
Hi, I guess your log statement reads the body. If the body returned by your http endpoint is a stream and you do not have stream caching enabled on your route the stream will be read and the body will be empty afterwards. The XML parser used to process your XSLT mapping will then get an empty d