Re: [Dev] Problem with response EI 6.1.1

2017-07-24 Thread Himasha Guruge
Hi,

Is there any specific reason/requirement to use multiple proxies in your
use-case? Usually calling different services and engaging their
request/response in a single flow is done through service chaining.[1]

[1]
https://docs.wso2.com/display/EI611/Exposing+Several+Services+as+a+Single+Service

Thanks,
Himasha

On Mon, Jul 24, 2017 at 5:32 PM, Riyafa Abdul Hameed 
wrote:

> Hi,
>
> The recommended way is to call a sequences[1] if you want to do some
> logic in the mediation but invoking proxy in another proxy is not wrong.
> Please share your proxy service so that it can be reproduced.
>
> [1] https://docs.wso2.com/display/EI611/Mediation+Sequences
>
> Regards,
> Riyafa
>
> On Mon, Jul 24, 2017 at 2:47 PM, Melodias 
> wrote:
>
>> Hi dev,
>> I have flow: proxyA invoke proxyB and proxyB invoke backend. In this
>> scenario I have timeout on proxyA. When I invoke proxyB I received a
>> response.
>>
>> Is it a problem with invoke proxy by proxy in EI 6.1.1?
>>
>>
>>
>> --
>> View this message in context: http://wso2-oxygen-tank.10903.
>> n7.nabble.com/Problem-with-response-EI-6-1-1-tp150540.html
>> Sent from the WSO2 Development mailing list archive at Nabble.com.
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
>
> --
> Riyafa Abdul Hameed
> Software Engineer, WSO2 Lanka (Pvt) Ltd 
>
> Email: riy...@wso2.com 
> Website: https://riyafa.wordpress.com/ 
>   
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
himas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Problem with response EI 6.1.1

2017-07-24 Thread Riyafa Abdul Hameed
Hi,

The recommended way is to call a sequences[1] if you want to do some logic
in the mediation but invoking proxy in another proxy is not wrong. Please
share your proxy service so that it can be reproduced.

[1] https://docs.wso2.com/display/EI611/Mediation+Sequences

Regards,
Riyafa

On Mon, Jul 24, 2017 at 2:47 PM, Melodias  wrote:

> Hi dev,
> I have flow: proxyA invoke proxyB and proxyB invoke backend. In this
> scenario I have timeout on proxyA. When I invoke proxyB I received a
> response.
>
> Is it a problem with invoke proxy by proxy in EI 6.1.1?
>
>
>
> --
> View this message in context: http://wso2-oxygen-tank.10903.
> n7.nabble.com/Problem-with-response-EI-6-1-1-tp150540.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Riyafa Abdul Hameed
Software Engineer, WSO2 Lanka (Pvt) Ltd 

Email: riy...@wso2.com 
Website: https://riyafa.wordpress.com/ 
  

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Problem with response EI 6.1.1

2017-07-24 Thread Sudharma Subasinghe
Hi Melodias,

There is no problem with invoke proxy by proxy when first proxy has timeout
duration.

For all the endpoints which does not have a timeout, global timeout which
is located in synapse.properties "synapse.global_timeout_interval" is
considered. The default value is set to 120s.

Thanks
Sudharma

On Mon, Jul 24, 2017 at 2:47 PM, Melodias  wrote:

> Hi dev,
> I have flow: proxyA invoke proxyB and proxyB invoke backend. In this
> scenario I have timeout on proxyA. When I invoke proxyB I received a
> response.
>
> Is it a problem with invoke proxy by proxy in EI 6.1.1?
>
>
>
> --
> View this message in context: http://wso2-oxygen-tank.10903.
> n7.nabble.com/Problem-with-response-EI-6-1-1-tp150540.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Sudharma Subasinghe,
Software Engineer,
WSO2 Inc.
Email: sudhar...@wso2.com 
Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Problem with response EI 6.1.1

2017-07-24 Thread Melodias
Hi dev,
I have flow: proxyA invoke proxyB and proxyB invoke backend. In this
scenario I have timeout on proxyA. When I invoke proxyB I received a
response.

Is it a problem with invoke proxy by proxy in EI 6.1.1?



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Problem-with-response-EI-6-1-1-tp150540.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev