Re: Global exception policy across Route builder configure methods

2012-09-11 Thread Andreas Jacobsen
My understanding is that exception policies defined in global scope are actually global. You could set up a seperate routebuilder specifically for the global exception policies. Claus's suggestion works too, since the same exception policies will be created several times. On 11 September 2012 16:

Re: Global exception policy across Route builder configure methods

2012-09-13 Thread Andreas Jacobsen
rom the second route > ("seda:inputB"). In this sense the onException clause is not context > scoped, but rather route builder scoped. > > I guess the confusion comes from the Sping DSL format, as the onException > clause is within the camelContext tag, so you might think

Re: Global exception policy across Route builder configure methods

2012-10-01 Thread Andreas Jacobsen
On 30 September 2012 11:57, Claus Ibsen wrote: >> [0]: https://issues.apache.org/jira/browse/CAMEL-5456 >> > > I finally got some time to help with this, and have fixed the issue reported. > > I also updated the error handler docs to better reflect the scopes for > Java DSL vs XML DSLs. > http://c