i think the problem is that you have:

System.out.println(exchange.getProperty("************
"+Exchange.EXCEPTION_CAUGHT,Throwable.class));

and what you actually want is:

System.out.println("************ " +
exchange.getProperty(Exchange.EXCEPTION_CAUGHT,Throwable.class));

Travis

On Thu, Sep 1, 2011 at 12:41 PM, aum.struts <aum.str...@gmail.com> wrote:
> But in that case this lines should give the exception details
>
> System.out.println(exchange.getProperty("************
>> "+Exchange.EXCEPTION_CAUGHT,Throwable.class));
>
> but it is giving output as 'null"
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Error-Handling-In-Camel-tp4753284p4759333.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to