Hi

In Java you can create a base abstract class (extending RouteBuilder)
and do the global onException etc. in the configure method.

And then for other routes, extend your base class, and call super.configure();

eg its just regular Java inheritance.

On Mon, Jul 14, 2014 at 5:51 AM, simafengyun <273132...@qq.com> wrote:
> Hi All,
>
> In spring xml, we can configure onException for camelcontext level.
> But in Java, I just see configure onException for route level. Is there
> anyway to configure onException for camel context level in java?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/quesion-about-onException-tp5753767.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to