How to override HTTP status code in SOA-P 5 HTTP Gateway
Issue
- I have a question regarding setting specific http codes in a rest response.
- The scenario and request flow is as below:
platform A <-> B:Jboss ESB (HTTP Gateway + Restful/http router) <-> C: restful service
- The response from C is http return code only. when it returns
"400 Bad Request"
, B needs to forward400
to A. Obviously http return code from B to A is200
. - How can I override
200
with400
in ESB as A retrieves http request code only?
Environment
- Red Hat JBoss SOA Platform (SOA-P) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.