On Fri, Oct 29, 2010 at 10:45 AM, Olivier.Roger <[email protected]> wrote:
>
> Hello Camel,
>
> I'am using Camel 2.5 and have a problem to log the stack trace for handled
> exception.
>
> here is my code
>
> <onException>
>        
> <exception>org.apache.camel.NoTypeConversionAvailableException</exception>
>        <handled>
>                <constant>true</constant>
>        </handled>
>            <log loggingLevel="WARN" message="${exception}"
> logName="com.bsb.docgen.DocumentGenerationNotificationRoute"/>
>        <to ref="deadLetterQueue" />
> </onException>
>
> I would like, in addtition to the error message, have the full stack trace.
> Is that possible ?

It would do a toString on the exception, but I guess that doesnt print
the stacktrace?

I have created a ticket
https://issues.apache.org/activemq/browse/CAMEL-3293




> I could not find information about it on the website.
>
> Thanks in advance !
>
> Olivier
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Exception-Log-the-stack-trace-in-Spring-DSL-tp3241700p3241700.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to