Hi,

I use the file poller under Ubuntu Linux and it works fine.
This can have 2 reasons in my opinion:

1. the directory you specified in ${filepoller.path} is not a valid one 
As comparison, this is what I have here in my case:
<f:poller
      service="cp:filePoller"
      endpoint="pollerEndpoint"
      file="file:///home/lhe/smxtest/input/"
      targetService="cp:workflow"
      period="5000"
      recursive="true"
      autoCreateDirectory="true" />
Maybe these slashes in file attribute have something to do with it, I don't
know exactly.

2. Maybe you simply don't have the rights to poll these directory or
specific sub-directories

Regards,
Lars




Abdeslam El Abbassi wrote:
> 
> Hi,
> in windows plate forme the recursive file polling work very well.
> but when we deploy in linux plate form, this don't work
> 
> here my code :
> 
> <file:poller service="ws_eai:fileservice" endpoint="poller"
> recursive="true"
>                       file="file:${filepoller.path}" 
> targetService="ws_eai:jmsselect"
> targetEndpoint="jmsselect" period="1000">
> 
> filepoller.path is path to directory as "/opt/dir"
> 
> We use servicemix 3.2 version
> 

-- 
View this message in context: 
http://www.nabble.com/recursive-file-polling-don%27t-work-on-linux-tp14841533s12049p14841544.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to