are you seeing any exceptions in the log? related to permissions or something?
additionally... maybe try a test with a absolute directory location
instead of the relative location you're using...

On Mon, Dec 9, 2013 at 2:46 PM, heriyanto <heriy...@gmail.com> wrote:
> 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>
>                </route>
>
> 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:
> Endpoint[file://data/inbox?delay=1000]
>
> 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: 
> http://camel.465427.n5.nabble.com/File-component-problem-on-tomcat-server-tp5744519.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to