Thanks Everybody.
Sorry Baba. I am miserably sorry. And Thanks for bearing me and answering my
questions in a apt way.
And cool this code worked great. As I expected.
route>
And Stefan, Let me try it out in producer. But this worked fine.
R
by the way: fileExist=Override is a producer option. so you should not
use it on the consumer (from)
stefan
On Fri, Apr 27, 2012 at 12:30, Babak Vahdat wrote:
> Hi
>
> IMHO for each single step of progress you're trying to make you're asking
> again and again before trying to investigate a bit
Hi
IMHO for each single step of progress you're trying to make you're asking
again and again before trying to investigate a bit by *yourself*!
So I propose you to:
- Look at the Camel source and it's own unit-tests to see if there's
something out there coverning your use case
- Search the User-Fo
And will all this file operation work between a queue ?
LIke this
Regards
Guru
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p5669871.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks Stefan and Claus for the clue.
Great. It worked for the following route/.
Camel is Great always. I could have been writing 200 lines of code for this
else.
Regards
Guru
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p566985
On Fri, Apr 27, 2012 at 10:43 AM, Gnanaguru S
wrote:
>
> Hi
>
> I am doing a simple route using camel
>
>
>
>
> Now If I keep a file test.txt, It will transfer to output folders, But I
> want this to happen every 10 seconds. Every time it writes, It should not
> write a new file. But it should o
Hi
Not sure if I get your question, but to write files there is an option
"fileExist". This option defaults to "Override". Other options would
be "Append", "Fail" and "Ignore".
But since the default seems to be what you want, I don't really
understand the problem :-)
Stefan
On Fri, Apr 27, 201
On Fri, Apr 27, 2012 at 10:43 AM, Gnanaguru S
wrote:
>
> Hi
>
> I am doing a simple route using camel
>
>
>
>
> Now If I keep a file test.txt, It will transfer to output folders, But I
> want this to happen every 10 seconds. Every time it writes, It should not
> write a new file. But it should o