This exception generally means the inputstream is empty (somehow consumed already). But without more details about your usecase, we can't exactly know what happened.
I am using Camel1.6.
I have been facing this particular exception for the past 2 months.
Please provide the solution.
Hope your solution drive me better.
Thanks and Regards,
I did google search for stream chache enable. But it says 'In Camel 1.x stream cache is default enabled out of the box.'
Please refer http://camel.apache.org/stream-caching.html
Edited by: bagavathysivaraman on Apr 28, 2010 1:42 PM
Can I have a look at your camel route?
It's really hard to tell what's wrong with your camel route just from the stack trace.
You can convert the XML payload to String which should allow Camel to be able to read it
from("xxx") .convertBodyTo(String.class) .to("yyy") .to("zzz");