On Fri, Oct 29, 2010 at 11:46 AM, Olivier.Roger <[email protected]> wrote:
>
> No, It does not. The toString method prints
>
> <Exception.class> : <message>
>
> I was hoping a simple expression could be used here like
> ${exception.message}, ${exception.stackTrace} for instance.
> --

In Camel 2.6 you will be able to do that. stackTrace with a lower t.

You can use a custom expression / bean or whatever to log the
exception how you like it.
Or add a custom type converter which can convert an Exception ->
String where you then include the stacktrace.



> View this message in context: 
> http://camel.465427.n5.nabble.com/Exception-Log-the-stack-trace-in-Spring-DSL-tp3241700p3241764.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