Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
4.0-BETA
-
None
Description
LineEntityProcessor processes only one document when combined with FileListEntityProcessor.
<dataConfig> <dataSource type="FileDataSource" encoding="UTF-8" name="fds"/> <document> <entity name="f" processor="FileListEntityProcessor" fileName=".*txt" baseDir="/Volumes/data/Documents" recursive="false" rootEntity="false" dataSource="null" transformer="TemplateTransformer" > <entity onError="skip" name="jc" processor="LineEntityProcessor" url="${f.fileAbsolutePath}" dataSource="fds" rootEntity="true" transformer="TemplateTransformer"> <field column="link" template="hello${f.fileAbsolutePath},${jc.rawLine}" /> <field column="rawLine" name="rawLine" /> </entity> </entity> </document> </dataConfig>