You could use a new Processor inline in the Java DSL and throw the 
exception from within the Processor? The exchange is the parameter in the
interface method so you can create the exception with anything you want in
it. 




--
View this message in context: 
http://camel.465427.n5.nabble.com/Getting-a-Header-property-on-a-exception-in-the-DSL-tp5737551p5761117.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to