Ah, that is what I expected actually. Your filter should be changed so that folders and files with extension .xml are allowed.
Lars Am Dienstag 23 September 2008 14:28:45 schrieb steff aka sid: > Ok, I found out, that in my case it belongs to the filter I've created. So > I think I have to change my filter condition. Because the subfolders don't > have an extension like *.xml so they are not polled. Hm its maybe a good > idea to change that behaviour? So that the condition is applied to the > subdirectories too not only on root folder? > > Regards > /Steff > > steff aka sid wrote: > > Hm, > > I've Ubuntu too, but its not working for me. Allrights are set correct. I > > tried first: > > <file:poller service="brockhaus:inbox" > > endpoint="endpoint" > > targetService="brockhaus:transformer" > > > > targetUri="operation:http://brockhaus-gruppe.de/products/ProductTransform > >erService/process" file="/home/smx/input/products/" > > deleteFile="true" > > recursive="true" > > period="10000" > > filter="#XMLFilter" /> > > and second: > > <file:poller service="brockhaus:inbox" > > endpoint="endpoint" > > targetService="brockhaus:transformer" > > > > targetUri="operation:http://brockhaus-gruppe.de/products/ProductTransform > >erService/process" file="file:///home/smx/input/products/" > > deleteFile="true" > > recursive="true" > > period="10000" > > filter="#XMLFilter" /> > > > > I thought about the directory names but also a directory called 'test' > > was not polled. > > > > So is here someone how knows why that happens? > > > > Regards > > /Steff > > > > 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 > > ----- > Brockhaus GmbH > COMPETITIVE THROUGH KNOWLEDGE > > Web: http://www.brockhaus-gruppe.de www.brockhaus-gruppe.de / > http://www.brockhaus-group.com www.brockhaus-group.com
