Thanks for the advice. 

The problem I've got is with:

<when> 
          <simple>${body} not contains 'HTTP/1.1 200 OK'</simple> 
          <throwException exceptionType="org.example.PdfInvoiceException"
message="${body}"/> 
</when>

"exceptionType" isn't a valid attribute here, and <simple> expression within
the element isn't either, only <description>.

<setFaultBody> accepts <simple> but I don't think is usable. Could I
setHeader or something else?









--
View this message in context: 
http://camel.465427.n5.nabble.com/Output-of-exec-used-for-exception-handling-to-enable-message-redelivery-tp5772641p5772646.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to