On Tue, Mar 22, 2016 at 1:30 PM, fxthomas <felix.tho...@gmail.com> wrote: > you are right Claus ! . But I stop the route to avoid that problem (if you > see the stop processor). There will be manual intervention to handle this > exception , thats why i have to keep the file at the same place. >
Ah okay so you want to stop the route asap if a special exception is thrown, and leave the file as-is ? Yeah that is a bit tricker as the uow on the file is to move or moveFailed. What is needed is a way to override that uow and tell it to do neither. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Not-move-file-on-custom-exception-thown-file-component-tp5779476p5779485.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2