Re: Restlet HTTP status and message

2010-10-01 Thread Claus Ibsen
Predicate[header(CamelHttpResponseCode) == 200]. > Exchange[Message: ... ] > org.apache.camel.processor.validation.PredicateValidationException: > Validation failed for Predicate[header(CamelHttpResponseCode) == 200]. > Exchange[Message: ... ] > ... > > Petr > -- >

Re: Restlet HTTP status and message

2010-10-01 Thread mat127
p://camel.465427.n5.nabble.com/Restlet-HTTP-status-and-message-tp3047023p3068911.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Restlet HTTP status and message

2010-09-30 Thread Claus Ibsen
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

Re: Restlet HTTP status and message

2010-09-30 Thread Claus Ibsen
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: > >

Re: Restlet HTTP status and message

2010-09-30 Thread mat127
.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.

Re: Restlet HTTP status and message

2010-09-30 Thread Ashwin Karpe
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.