Hi,

Here an example for writing files Using Apache Camel FrameWork in a specific
folder.

<beans xmlns="http://www.springframework.org/schema/beans";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="
   http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
   http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd";>

<camelContext xmlns="http://camel.apache.org/schema/spring";>
    <route>
        <from uri="file:src/data?noop=true"/>
        <loop>
            <constant>10000</constant>
            <to
uri="file://src/data/out?fileName=${date:now:yyyymmddhhmmss}.LOOP.${header.CamelLoopIndex}.txt"/>
        </loop>
    </route>
</camelContext>

Is there a way to write all files simultaneously ? When the Loop processing
ends, is there a way to invoke writing files in one time ?

Thxs.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Pulling-multiple-files-in-simultaneously-tp5787036.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to