Re: Camel File component for writing files

2015-10-12 Thread Sashika
Stream seems to a perfect fit. Thanks Claus No to all - its how its designed. For new lines you need to add that into the message. The message is appended as-is. Take a look at the stream component that can keep the file open. http://camel.apache.org/stream On Mon, Oct 12, 2015 at 4:34 AM, Sas

Re: Camel File component for writing files

2015-10-11 Thread Claus Ibsen
No to all - its how its designed. For new lines you need to add that into the message. The message is appended as-is. Take a look at the stream component that can keep the file open. http://camel.apache.org/stream On Mon, Oct 12, 2015 at 4:34 AM, Sashika wrote: > Hi, > > I have a use case to

Camel File component for writing files

2015-10-11 Thread Sashika
Hi, I have a use case to use camel file component as a producer to write files. In fact to append incoming messages to single file. What I observed so far is camel does not keep the file open. Instead it open the file, append the content and closes the file. This is repeated for every single mess