Hi Folks,
Need help with this issue.
Is it possible for file component to NOT to move the file to .camel
directory if there is error in the following endpoint of that route. Ex: if
error in processor "corpActionProcessor" can we AVOID moving the file
from c://cameldata/corpactions to c://cameldata/corpactions/.camel
Thanks in advance,
Darpan Mhatre.
Route as below
<route id="Corporate-Actions">
<from uri="file:c://cameldata/corpactions"/>
<unmarshal ref="corpActionDataFormat"/>
<process ref="corpActionProcessor"/>
<convertBodyTo type="com.testing.eai.model.CorpActionModel"/>
<to uri="bean:corpActionSql?method=processCorpAction"/>
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-it-possible-for-file-component-to-NOT-to-move-the-file-to-camel-directory-if-there-is-error-in-th-tp5717797.html
Sent from the Camel - Users mailing list archive at Nabble.com.