On Thu, May 28, 2009 at 1:46 PM, Tobias Emmerich <tobias.emmer...@gmx.de> wrote: > > Hallo, > > i use this code with camel v1.5 to get the exception in my error handler. > > Throwable ex = (Throwable) > prop.get("org.apache.camel.processor.DeadLetterChannel.FAILURE_HANDLED"); > > With camel v 2.0-m1 I get null with this function and not the exception. > Maybe the name of the constant has changed. > > Can some one help me? Yeah we have moved various constant keys to Exchange. So go look at Exchange if you need a key for a common header/property. Changes are that we have moved it there.
So there is a Exchange.FAILURE_HANDLED Key you can use to get the property. > > Thanks > > Tobias > -- > View this message in context: > http://www.nabble.com/Getting-exception-camel-2.0-M1-tp23760137p23760137.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus