The caused exception is stored as a property on the Exchange.

See more details
http://camel.apache.org/why-is-the-exception-null-when-i-use-onexception.html

On Fri, Mar 28, 2014 at 6:31 AM, Rural Hunter <ruralhun...@gmail.com> wrote:
> I checked the doc and it seems only log the exchange but I actually want the
> exception/error.
>
> 于 2014/3/27 18:43, Chirag Dewan 写道:
>
>> Hi,
>>
>> You can try the log component.
>>
>> http://camel.apache.org/log.html
>>
>> BR,
>>
>> Chirag
>
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to