See this FAQ
http://camel.apache.org/why-does-my-file-consumer-not-pick-up-the-file-and-how-do-i-let-the-file-consumer-use-the-camel-error-handler.html

And if you have a copy of the Camel in Action book its explained in
the error handler chapter.


On Fri, Dec 16, 2016 at 12:08 PM, sa_james <sa_remin...@hotmail.com> wrote:
> Does Camel catch Exceptions that occur in the first Producer in a route?
>
> lets say I have this:
>
> *onException(Exception.class).to("log:exception ${Body}")
> *from("sjms:queue").to("log:test ${Body}")
>
> If I shut down the Queue, an exception is throws in the console but camel
> does not log it.
> Am I understanding this wrong?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Catching-Exception-tp5791552.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

Reply via email to