Re: moving file with camel

2016-12-06 Thread Allan C.
I think using timer/quartz with content enricher (pollEnrich) could be your solution. Regards, Allan C. On Tue, Dec 6, 2016 at 4:46 PM, Jan Matèrne (jhm) wrote: > > -I want to filter multiple format file (as .html,.jpg...).How can I do > > it? > > You could read only these files: > http://camel

Re: moving file with camel

2016-12-06 Thread axdz
Dear, -I want to filter multiple format file (as .html,.jpg...).How can I do it? -I want to set time (time format only includes hours as 04:00) for route moving file.Please give me some advice. Thanks, -- View this message in context: http://camel.465427.n5.nabble.com/moving-file-with-camel-t

Re: moving file with camel

2011-03-18 Thread Claus Ibsen
On Wed, Mar 16, 2011 at 2:42 PM, adi milis wrote: > Thanks .. It works now > > btw, I got the code from the first chapter of your book in amazon, > in Easy Configuration section, the code doesnt even mention about regex. Jonathan updated chapter 2 to mention regexp and show how to filter only XML

Re: moving file with camel

2011-03-16 Thread adi milis
Thanks .. It works now btw, I got the code from the first chapter of your book in amazon, in Easy Configuration section, the code doesnt even mention about regex. On Wed, Mar 16, 2011 at 7:39 PM, Claus Ibsen wrote: > Hi > > The include option is using Java Reg Exp so you have to configure tha

Re: moving file with camel

2011-03-16 Thread Claus Ibsen
Hi The include option is using Java Reg Exp so you have to configure that with a valid regexp. So to only include PNG files you do like this: .*png$ This is a reg exp to match a string ending with png. On Wed, Mar 16, 2011 at 1:30 PM, adi milis wrote: > Hi, > > I want to create simple routing