See this unit test
http://svn.apache.org/viewvc?rev=1148854&view=rev

On Wed, Jul 20, 2011 at 4:27 PM, Echo <[email protected]> wrote:
> Actually that's the happy scenario :)
> Um now sucedded to log into a new file rather than karaf.log .
>
> I need when an exception occurs , throw a CustomException into my new log .
>
> Um now trying to use these :http://camel.apache.org/simple.html
>
> Trying to use :
>
> exchange.getOut.setHeader("tot","hi there")
>
> process(doSmth).
>       log(LoggingLevel.INFO, "new", "${exchangeId} -CUSTOM--
> ${out.header.tot}
>
> I got nothing when I try to print : ${out.header.tot} ... any ideaS !!
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Fetch-Custom-Exception-from-the-exchange-tp4615183p4616042.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



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

Reply via email to