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 forward400to A. Obviously http return code from B to A is200. - How can I override
200with400in 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
