RE: move to failed folder, with onException in place

2015-11-04 Thread Hans Orbaan
ss).handled(false).to(errors).end() .throwException(new RuntimeException("exception")) .to("mock:end"); // @formatter:on } }; } } -Oorspronkelijk bericht----- Van: Claus Ibsen [mailto:claus.ib...@gmail.com] Verz

Re: move to failed folder, with onException in place

2015-10-31 Thread Claus Ibsen
I think you need to tell us a bit more before we can help. Maybe show a bit more route code what you attempt. On Thu, Oct 29, 2015 at 2:28 PM, Hans Orbaan wrote: > Hi all, > > Why is a file not moved to the failed folder when there is an onexception > with a to-endpoint? > > When I use the follo

move to failed folder, with onException in place

2015-10-29 Thread Hans Orbaan
Hi all, Why is a file not moved to the failed folder when there is an onexception with a to-endpoint? When I use the following the file does not show up in the failed folder: onException(Exception.class).handled(false).to("seda:errors").end(); This does work, but is obviously not of any use: th