camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lazyeye <t.mcgee.lazy...@gmail.com>
Subject File and idempotent question
Date Thu, 03 Sep 2009 22:24:57 GMT

I want to have a file component that will allow the same file to processed if
dropped into the target directory again. I can't get the configuration
right. Here's what I have now:

	<camel:camelContext id="camel">
		<camel:route>
			<camel:from
			
uri="file://inbox?idempotent=false&amp;move=../done&amp;moveFailed=../error&amp;preMove=working/${date:now:yyyyMMddHHmmssSSS}-${file:name}&amp;readLock=rename"
/>
			<camel:process ref="zothProcessor" />
			<camel:to uri="log:gov.Zoth?level=INFO" />
			<camel:onException>
				<camel:to uri="log:gov.Exception?level=INFO" />
			</camel:onException>
		</camel:route>
	</camel:camelContext>

-- 
View this message in context: http://www.nabble.com/File-and-idempotent-question-tp25285173p25285173.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message