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

Reply via email to