Re: Multiple camelContext elements in camel 2.6.0

2012-02-28 Thread Christian Müller
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

Multiple camelContext elements in camel 2.6.0

2012-02-27 Thread cmland
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: