On Wed, Apr 20, 2011 at 1:43 PM, Marco Crivellaro <mcr...@optasportsdata.com> wrote: > Thank you, what about the second point about lock? >
The lock is very cheap as it only prevents you from writing to the *same* file concurrently, such as when you append to an existing file. So there should be no bottleneck there. > -- > View this message in context: > http://camel.465427.n5.nabble.com/GenericFileOperations-optimization-tp4315363p4315567.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/