Doesn't it have something to do with the order in which onException is given in the DSL? I.e. reverse the lines of code and it should work? I could be wrong...
On 25 February 2015 at 14:29, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > If you have a copy of Camel in Action its explained in much detail in > chapter 5. > You may find some information on the Camel doc website as well, but > not as deep as in the book. > > On Mon, Feb 23, 2015 at 5:15 PM, toomanyedwards > <toomanyedwa...@gmail.com> wrote: > > Thanks for the pointer. Can you give some insight into why Camel matches > > from the bottom up of the exception chain rather from the top? This > appears > > to be an explicit design decision and it'd be useful to know the > rationale > > behind it to help leverage exception trapping more effectively. > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/How-to-trap-most-specific-exceptions-tp5762994p5763086.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/ >