Predicate[header(CamelHttpResponseCode) == 200].
> Exchange[Message: ... ]
> org.apache.camel.processor.validation.PredicateValidationException:
> Validation failed for Predicate[header(CamelHttpResponseCode) == 200].
> Exchange[Message: ... ]
> ...
>
> Petr
> --
>
p://camel.465427.n5.nabble.com/Restlet-HTTP-status-and-message-tp3047023p3068911.html
Sent from the Camel - Users mailing list archive at Nabble.com.
14:57:47,018] [main]
> c.b.i.c.a.l.ExchangeHeadersInspector: exchange.failed: false
>
> So the in.header[org.restlet.http.headers] header contains all the http
> headers but the status is not here nor at any other place I tried
> (Exchange.getProperties(), Exchange.isFailed()). Some hints any
ere.net/path/to/rest/api"/>
>
>
>
> In this case there will be no exception even the REST API would respond with
> some HTTP status != 200.
>
> Anyway the exchange.getOut.isFailed() is false too as you can see from the
> log:
>
>
.isFailed() is false too as you can see from the
log:
[DEBUG] [2010-09-30 14:57:47,018] [main]
c.b.i.c.a.l.ExchangeHeadersInspector: exchange.failed: false
Petr
--
View this message in context:
http://camel.465427.n5.nabble.com/Restlet-HTTP-status-and-message-tp3047023p3047644.html
Sent from the Camel - Users mailing list archive at Nabble.com.
http://opensourceknowledge.blogspot.com
-
--
View this message in context:
http://camel.465427.n5.nabble.com/Restlet-HTTP-status-and-message-tp3047023p3047083.html
Sent from the Camel - Users mailing list archive at Nabble.com.