我想使用camel构建简单的文件夹到文件夹应用程序:
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="file:src/data?noop=true"/>
<to uri="file:src/data/new"/>
</route>
</camelContext>我找到了类似这样的东西:
<bean id="quartz" class="org.apache.camel.component.quartz.QuartzComponent">
<property name="startDelayedSeconds" value="5"/>
</bean>但我不知道如何在我的示例中使用它。
请帮帮忙
发布于 2012-03-06 14:18:08
您不需要使用quartz。只需更改from: file:src/data?noop=true&consumer.delay=5000
https://stackoverflow.com/questions/9573246
复制相似问题