You could code your "onException" strategy in a base route and subclass
this in your other routes...
Best,
Christian
On Tue, Feb 28, 2012 at 8:18 AM, cmland wrote:
>There are many spring context xml files in my project ,and i want to use
> "camel:ContextScan" and "camel:include" to include
There are many spring context xml files in my project ,and i want to use
"camel:ContextScan" and "camel:include" to include all the CamelContext
into one CamelContext and then i can use one "onException" to process the
error message. but it was not work. what i can do for it .
thanks.
eg: