Re: trying several parameters of FileComponent...

2011-03-19 Thread dead_devil_66
and yes, i tried by sequencing from and to in that manner but no success from("file:/home/echo66/data/inbox/?delete=true&initialDelay=1000") .to("file:/home/echo66/data/outbox/"); -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-o

Re: trying several parameters of FileComponent...

2011-03-19 Thread dead_devil_66
sorry but you must have a problem in your post... " .to ;("file:/home/echo66/data/outbox/");" ? what? ; ??? That isn't good to insert in the code.. :S -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-of-FileCompon

Re: trying several parameters of FileComponent...

2011-03-19 Thread Christian Müller
Try {code} public static void main(String... args) throws Exception { CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { public void configure() { from("file:/home/echo66/data/inbox/?delete=true&initialDelay=1000") .to

trying several parameters of FileComponent...

2011-03-19 Thread dead_devil_66
Greetings. I'm using one of the examples of the book "Camel in action". So far, no problem with it. The problems start when i try to had more parameters to the URI. For example, initialDelay or fileExist. Everytime i try to run the program, i get an error like this: 19/Mar/2011 20:38:41 org.apa

Re: trying several parameters of FileComponent...

2011-03-19 Thread dead_devil_66
anyone? -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-of-FileComponent-tp4083799p4087767.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: file route not working for Exception scenario

2011-03-19 Thread balajiu
Thank you Claus. Another question is in the event all redeliveriy attemps fails, I wnat to wait for 15 mins before furthur processing next file. How do you handle wait time and where do you specify in the route? Thank you, Balaji -- View this message in context: http://camel.465427.n5.nabble.co