You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Magnus Heino <ma...@filur.org> on 2008/03/07 15:26:18 UTC

Routebuilder exceptionhandling help

Suppose I have this route

from("direct:foo").to("bean:myBean").to("direct:bar");

If something goes wrong, I want to catch the exception and send the
exception message as the body of a message to "direct:bar".

How do I do this easily?

-- 

 /Magnus Heino