Hi I also think there was an issue in a Camel release with setting a errorHandlerRef on <camelContext>. So set it on <route> instead to see if it works then. It should be fixed in 2.3-SNAPSHOT. or maybe in 2.2 also (cant remember)
On Fri, Apr 9, 2010 at 5:51 PM, Claus Ibsen <[email protected]> wrote: > Hi > > I have created an unit test on Camel trunk based on your route. And it > works for me. > http://svn.apache.org/viewvc?rev=932470&view=rev > > > > On Fri, Apr 9, 2010 at 4:15 PM, dnn <[email protected]> wrote: >> >> Thanks for the quick replies! >> >> Willem-- >> >> This is a rather trivial test case - in my "real" routes I definitely >> require the <transacted/> tags. It does appear that using transacted IS >> setting up a new TransactionErrorHandler; it's just not grabbing the global >> onException handlers as I expected... >> >> Claus-- >> >> Camel 2.3-SNAPSHOT performed in the exact same way. I'll try converting my >> test case to DSL to try it out, but we've got a lot of routes already >> written in XML that I would really prefer to not redo. >> >> Thanks, >> Dan Nawrocki >> >> -- >> View this message in context: >> http://old.nabble.com/onException-handling-tp28183226p28191045.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Author of Camel in Action: http://www.manning.com/ibsen/ > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
