Re: [Dev] [APIM 2.1.0] Tenant Websocket API Invocation Issue

2017-04-06 Thread Abimaran Kugathasan
On Thu, Apr 6, 2017 at 11:27 AM, Arshardh Ifthikar wrote: > Hi, > > The instance variables defined should not be an issue because a new > instance of the handler is created for each Websocket connection [1]. But > the tenantDomain variable should not be static. > > IMHO the

Re: [Dev] [APIM 2.1.0] Tenant Websocket API Invocation Issue

2017-04-05 Thread Arshardh Ifthikar
Hi, The instance variables defined should not be an issue because a new instance of the handler is created for each Websocket connection [1]. But the tenantDomain variable should not be static. IMHO the issue should be that the uri parameter of the req object is set twice in line 109 and 124 of

Re: [Dev] [APIM 2.1.0] Tenant Websocket API Invocation Issue

2017-04-05 Thread Abimaran Kugathasan
Hi Isuru, Currently, WebSocket isn't working for any tenants. Seems, WebSocket uri, tenantDomain, etc are defined as static variables. I guess this will be a cause for this problem.

[Dev] [APIM 2.1.0] Tenant Websocket API Invocation Issue

2017-03-29 Thread Isuru Haththotuwa
Hi, This is a standalone APIM 2.1.0 setup. I have an API published by a tenant (a.com), and subscribed by another tenant (b.com). I'm using the sample netty based ws client from the docs [1]. While invoking this API, error [2] can be sen in the APIM. Going through the code, noted that there is