Hi,

  Kindly help us.

  Whenever data is spooled in file via CachedOutputStream in any camel
component in a multicast branch, that data becomes unreadable in

a) Aggregation Strategy of Multicast
b) After multicast, in case there is no aggregation strategy

We are getting:

a) FileNotFound issues as the file is deleted on completion of the cloned
branch exchange.
b) Premature end of file, when we read data from InputStream and use
XMLReader / STAX to read the data.


If we use the Constructor: new CachedOutputStream(exchange, false), the
streamcache file will not be deleted.
But the file may never be cleaned up & we do not want to do that.

Your help is greatly appreciated as we need to resolve this issue urgently.

Thanks,
Lakshmi




--
View this message in context: 
http://camel.465427.n5.nabble.com/StreamCache-FileNotFound-issues-with-bigger-data-in-multicast-routes-tp5755810p5756089.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to