Re: trying several parameters of FileComponent...

2011-03-27 Thread dead_devil_66
this issue is being discussed at http://fusesource.com/forums/thread.jspa?threadID=2830&tstart=0 -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-of-FileComponent-tp4089201p4267045.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: trying several parameters of FileComponent...

2011-03-27 Thread dead_devil_66
for some reason, i have a lot of pending messages i wonder if you even received the message i posted here... -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-of-FileComponent-tp4089201p4266653.html Sent from the Camel - Users mailing list archive

Re: trying several parameters of FileComponent...

2011-03-25 Thread Richard Kettelerij
Have you figured this out yet? If you upgrade to Camel 2.6 or higher you should have these classes (check the fisheye link for details). -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-of-FileComponent-tp4089201p4264962.html Sent from the Camel - Users

Re: trying several parameters of FileComponent...

2011-03-21 Thread Richard Kettelerij
@dead_devil_66. Main extends MainSupport, and MainSupport does have that method see https://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/MainSupport.java?hb=true -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-paramete

Re: trying several parameters of FileComponent...

2011-03-20 Thread Richard Kettelerij
@dead_devil_66 Take a look at http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html to keep the program running. -- View this message in context: http://camel.465427.n5.nabble.com/trying-several-parameters-of-FileComponent-tp4089201p4153832.html Sent from the Camel - User

Re: trying several parameters of FileComponent...

2011-03-20 Thread Richard Kettelerij
The RouteType class revealed that you're (still) using Camel 1.x. The file component in 1.x doesn't have a "initialDelay" option, instead you should use "consumer.initialDelay" (available since Camel 1.4). See http://camel.apache.org/file.html. The docs on http://camel.apache.org/file2.html are for

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

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.