camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Exception details
Date Tue, 28 Sep 2010 13:26:06 GMT
I'll get the book...

>From the info on that page, is it correct to assume that it is impossible to get at the
exception info from the Spring XML config?  All I want to do is to log the actual exception
to a file.  

Steven Hedges
IT - Credit Booking Derivs

-----Original Message-----
From: Claus Ibsen [] 
Sent: 28 September 2010 14:09
Subject: Re: Exception details

On Tue, Sep 28, 2010 at 2:49 PM,  <> wrote:
> Hi
> This is probably very straightforward, but I've scoured the docs and can't find an answer.
> Is it possible to get details of the actual exception that occurred in 
> an error handler?  So far, I can see how to access the message that 
> caused an error (using the $body variable) but not the exception 
> itself

Yeah if you got the Camel in Action book, see section 5.4.4

And you can find also some details about it here

see section _Using a processor as failure handler_

> Thanks in advance
> Steven Hedges
> IT - Credit Booking Derivs
> 10 The South Colonnade
> Canary Wharf,
> London E14 4PU,
> United Kingdom
> 02031344655
> x44655
> _______________________________________________
> This e-mail may contain information that is confidential, privileged or otherwise protected
from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or
redistribute it by any means. Please delete it and any attachments and notify the sender that
you have received it in error. Unless specifically indicated, this e-mail is not an offer
to buy or sell or a solicitation to buy or sell any securities, investment products or other
financial product or service, an official confirmation of any transaction, or an official
statement of Barclays. Any views or opinions presented are solely those of the author and
do not necessarily represent those of Barclays. This e-mail is subject to terms available
at the following link: By messaging with Barclays you consent
to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC,
a company registered in England (number 1026167) with its registered office at 1 Churchill
Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays
> _______________________________________________

Claus Ibsen
Apache Camel Committer

Author of Camel in Action: Open Source Integration:

View raw message