synapse-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.A. Khemila" <>
Subject Re: Synchronous http
Date Mon, 02 Oct 2017 20:47:37 GMT
Thanks for clarifying! 

I think I was confused because my client was blocking when the service suspends my api. This
happens when the ultimate endpoint is not available. I figured out how to handle that by adding
a suspendOnFailure configuration to my address endpoint and adding an errorHandler to my inSequence.

On Sep 29, 2017, 12:41 PM, at 12:41 PM, Isuru Udana <> wrote:
>Even though synapse engine and http transport is non-blocking, that
>mean that client or backend server need to be aware of it. Non-blocking
>behaviour is just a nature of underlying implementation of synapse
>(behaviour of java threads). External parties don't need to worry about
>synapse implementation details. So by default synapse supports
>http protocol standards.
>On Fri, Sep 29, 2017 at 9:43 PM, M.A. Khemila <>
>> Hi,
>> By default, synapse uses the non-blocking https. Is there a way to
>> override synapse to use blocking https.
>> Basically, I have restful micro services which are meant to be used
>> synchronously. I am using a synapse api configuration which receives
>> requests and forwards to the appropriate micro service based on uri
>> patterns. Because synapse uses the non-blocking https by default, the
>> clients need to be aware of this fact and behave accordingly, which
>> something I want to really avoid.
>> Any idea?
>> Thank you!
>*Isuru Udana*
>Senior Technical Lead
>*; WSO2 Inc.; <>email:
><> blog:

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message