Hi,

ESB invokes fault sequence when error occurred in mediation flow. In
addition we can configure error codes on which an endpoint to be invoked
fault sequence [1].

However can I configure ESB to invoke fault sequence for http error codes
such as 403, 401 etc?

I can have a filter for http_sc and check it after call mediator. However
in a service chaining with multiple endpoints, we will have to do that
check after every call.

[1] https://docs.wso2.com/display/ESB481/Error+Handling

-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

Blog: http://udaraliyanage.wordpress.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to