camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heriyanto <>
Subject File component problem on tomcat server
Date Mon, 09 Dec 2013 22:46:59 GMT
Hi everyone,

I create a simple camel application that move file from folder "input" to
another folder "output".
I integrate apache camel with spring mvc and deploy the application into
tomcat server.
Here are the simple route :

   		<route id="cashFlowStageDataRouter">
   			<from uri="file:data/inbox?delay=1000" />
   			<to uri="file:data/outbox"></to>

When i start the tomcat server, i believe that the camel context already
started successfully, based on the log info : 
INFO - DefaultCamelContext.doStartOrResumeRouteConsumers(2098) | Route:
cashFlowStageDataRouter started and consuming from:

but when i place new file into folder "input", nothing happen. File in the
folder "input" doesn't move or copy into "output" folder.

when i call the route from JUnit using ProducerTemplate, file can move to
"output" folder successfully.

does i miss something here...? 

Thank you,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message