Re: Error Handling with Spring XML

2011-04-17 Thread Claus Ibsen
Hi I have reproduced the issue and fixed it on trunk https://issues.apache.org/jira/browse/CAMEL-3877 -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.

Re: Error Handling with Spring XML

2011-04-17 Thread Claus Ibsen
What Camel and Spring version are you using? -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manni

Re: Error Handling with Spring XML

2011-04-12 Thread Claus Ibsen
Hi Ah you may have encountered an issue. Fell free to log a JIRA ticket. On Tue, Apr 12, 2011 at 4:17 PM, jpalmer1026 wrote: > Hi Claus, > > I'm actually not changing the error handler using adviceWith. My spring > application context file defines a single error handler, which I reference > as

Re: Error Handling with Spring XML

2011-04-12 Thread jpalmer1026
Hi Claus, I'm actually not changing the error handler using adviceWith. My spring application context file defines a single error handler, which I reference as an attribute on the camelContext tag to make it context-scoped. When I subsequently simulate an error using advice with, I get the excepti

Re: Error Handling with Spring XML

2011-04-12 Thread Claus Ibsen
You cannot change error handler using adviceWith as the exception message tell you. Its a limitation in the routing engine. We will improve that in Camel 3.0 to make it fully dynamic. On Mon, Apr 11, 2011 at 11:43 PM, jpalmer1026 wrote: > I'd like to specify a context-scoped error handler in a