Hello,

i have a modular apache camel project (camel 2.15.5), with multiple camel
context xml file.

My project package's steps are:

Step 1. 

maven copy *.xml camel context into a common directory META-INF/spring

Step 2.

maven camel:run

Step 3.

Into main camel-context i am declaring all reference according to
camelContextRef tag

Step 4. 

Into main camel-context i put all onException tag

Now i would change this structure and put all onException tags into a
separated file. But cannot do it (XSD Error)!!!

This is my *wrong* code

<camelContext>
                <routeContextRef ref="onExceptionRouteContext" />

                <routeContextRef ref="........." />
                <routeContextRef ref="........." />
                <routeContextRef ref="........." />
<camelContext>

Can i put error handling out of main camelContext xml file? 




--
View this message in context: 
http://camel.465427.n5.nabble.com/Limit-of-Error-handling-in-Camel-tp5779105.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to