Hi Thomas, In ESB, 404 response is treated as a legitimate message (as similar to other responses like 200 OK). So neither flow getting stopped nor fault sequence is getting invoked in this case. Basically message flow behaves same for both 404 and 200 responses.
If you can provide more details about the issue including your synapse configurations, we'll able to help you to achieve your requirement. Thanks. On Wed, Oct 25, 2017 at 2:40 PM, Vinod Kavinda <[email protected]> wrote: > Hi Thomas, > You can control the error scenarios in your Fault Sequence. If you haven't > added a fault sequence to your proxy service/ API the default fault > sequence will be invoked. If you want to control the error scenario, add a > fault sequence to your synapse configuration and include the relevant logic. > > Refer [1] for more info. > > [1] - https://docs.wso2.com/display/ESB500/Error+Handling > > Regards, > Vinod > > On Mon, Oct 23, 2017 at 4:02 PM, Thomas LEGRAND < > [email protected]> wrote: > >> Hello, >> >> I have an inbound endpoint calling a sequence once triggered. In this >> sequence, I call a REST API which can return a 404 causing the whole >> sequence and subsequences to stop. But the return of the API is useful and >> I would like to continue the process with it even if it is a 404. >> >> Have you any idea how I can achieve that ? >> >> Regards, >> >> Thomas >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Vinod Kavinda > Senior Software Engineer > *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* > Mobile : +94 (0) 712 415544 > Blog : http://soatechflicks.blogspot.com/ > [image: http://wso2.com/signature] > <http://wso2.com/signature> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Isuru Udana* Senior Technical Lead WSO2 Inc.; http://wso2.com email: [email protected] cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
