Re: Using Stream Cache With Apache Camel

2015-12-10 Thread kikou1984
find away to use the stream cache. So , do you have an example about Stream cache, how can i put some data ( I think we have to add on the route streamCache="true") and how can i retrieve it. Thxs. -- View this message in context: http://camel.465427.n5.nabble.com/Using-Stream-Cache-Wi

Re: Using Stream Cache With Apache Camel

2015-12-09 Thread Claus Ibsen
he `inputStream`. > > I want to keep reading the file with streaming line per line, but at on > process I need to read for exemple the first line , that s why i wanted to > use the stream cache , who allows me to browse the file from the beginning. > > May be I misunderstand the St

Re: Using Stream Cache With Apache Camel

2015-12-09 Thread kikou1984
When i m trying to get the cache it returns null StreamCache cache = exchange.getIn().getBody(StreamCache.class); Do you have an idea how i can retrieve the StreamCache ? Thxs -- View this message in context: http://camel.465427.n5.nabble.com/Using-Stream-Cache-With-Apache-Camel

Using Stream Cache With Apache Camel

2015-12-09 Thread kikou1984
d to use the stream cache , who allows me to browse the file from the beginning. May be I misunderstand the Stream Cache. -- View this message in context: http://camel.465427.n5.nabble.com/Using-Stream-Cache-With-Apache-Camel-tp5774856.html Sent from the Camel - Users mailing list archive at Nabble.com.