camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesburn <James.B...@oup.com>
Subject Re: Output of exec used for exception handling to enable message redelivery
Date Wed, 14 Oct 2015 15:48:42 GMT
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.

Mime
View raw message