camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Heino" <mag...@filur.org>
Subject Routebuilder exceptionhandling help
Date Fri, 07 Mar 2008 14:26:18 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message