Thanks Claus.

I have the following lines being shown in the console.

[                          main] DefaultCamelContext            INFO
Route: route1 started and consuming from: Endpoint[file://.?fileName=my.xml]
[                          main] DefaultCamelContext            INFO  Total
1 routes, of which 1 is started.
[                          main] DefaultCamelContext            INFO
Apache Camel 2.10.0 (CamelContext: camel-1) started in 0.641 seconds
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.015 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.016 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.015 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.016 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.016 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.015 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .
[(camel-1) thread #1 - file://.] FileConsumer                   DEBUG Took
0.000 seconds to poll: .

I can see that the route is started as well. But why wouldn't the output
file be written be written? Also why does it poll those many times as above?

Here is how my route looks like:

from("file:.?fileName=my.xml").to("file:.?fileName=my1.xml")

Regards,
Jothi

Reply via email to