I update to version 2.12.2, but the problem still remains. With the debugger, I check the exchange content at point [2] (when the route ends and the execution flow returns to the dispatcherProcessor), the body type is "org.apache.camel.converter.stream.FileInputStreamCache" but the file "/pathToFile/tmpFile.tmp" is already deleted.
May it depend on the kind of invocation of the route that I do? I use: SpringCamelContext scc = ... // load from xml definition... ProducerTemplate pt = scc.createProducerTemplate(); // create the producertemplate Endpoint ep = route.getEndpoint(); // take the first endpoint of the route Exchange ex = ep.createExchange(); // create the request exchange Exchange rt = pt.send(ep, ex); // invoke the route Thanks. Zulio. -- View this message in context: http://camel.465427.n5.nabble.com/StreamCaching-and-multiple-context-tp5745898p5745926.html Sent from the Camel - Users mailing list archive at Nabble.com.
