Thanks, but still not working.
We use Red Hat OS.
1/
i try this
<file:poller service="ws_eai:fileservice"
endpoint="poller"
file="file:/opt/eai/apache-tomcat-6.0.9/webapps/servicemix/data/INBOX/"
targetService="ws_eai:jmsselect"
period="1000"
recursive="true"
autoCreateDirectory="true">
and this
file="file:///opt/eai/apache-tomcat-6.0.9/webapps/servicemix/data/INBOX/"
But nothing work.
2/
if the file is in the root, it will we consumed by the polling.
So i think it's a problem of directory right.
Regards
lhe77 wrote:
>
> 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-tp14841533s12049p14841697.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.