barthorre, First, thanks for replying and second, I do that all the time too!!! However, in this particular it does not work. Look at the code, I am passing it when throwing the exception, it is not in the regular DSL where simple will just work. You can try it and you will see. What comes in the Exception string is: Client Configuration not found for clientid: ${header.ClientID}. If you try to add simple around it, it does not work since simple returns a SimpleBuilder so I tried the other code that I showed on my post, but I am not sure how to get the exchange so I have not been able to get the value here.
-- View this message in context: http://camel.465427.n5.nabble.com/Getting-a-Header-property-on-a-exception-in-the-DSL-tp5737551p5737592.html Sent from the Camel - Users mailing list archive at Nabble.com.