I've a spring integration http inbound-gateway. I'd like to return specific http status codes in different cases of use. Is there any way to specify the httpStatus in the response???
I tried with a excepion type router where each exception is a specific http status code, but i don't know how to set the status code in the response and I don't find any help about it in the documentation.
Thanks!