camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunny <>
Subject onException common to Java DSL and XML DSL
Date Mon, 02 Mar 2015 17:13:47 GMT
Hello Pals,

I am working on a requirement where in some code of camel is in Java DSL and
some code is in XML DSL . 
>From documentation I understand that if I have a onException in Java DSL at
global scope, then this onException will be available for all routes in Java
DSL only and will not be available for XML DSL .
Functionality dosent work even when i have Java in XML dsl alone.

To satisfy my requirement i had to write onException in both of my XML DSL
and Java DSL file. 
is there any way by which i can have onException common to both Java and XML
DSL ? 

View this message in context:
Sent from the Camel Development mailing list archive at

View raw message