Hi,
If I define a route like this:
from("<MyUrl>/test")
.setHeader(Exchange.HTTP_RESPONSE_CODE, simple("400"));
my http client get a 200 response code.
If a add something else on the route like:
from("<MyUrl>/test")
.setHeader(Exchange.HTTP_RESPONSE_CODE, simple("400"))
.log("400").
my http client get a 400 response code as expected.
Is there something i do wrong.
BR
--
View this message in context:
http://camel.465427.n5.nabble.com/route-http-code-tp5732728.html
Sent from the Camel Development mailing list archive at Nabble.com.