Re: [Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-08 Thread Sanjeewa Malalgoda
+1. This is good suggestion IMO. Thanks, sanjeewa. On Mon, Jun 5, 2017 at 9:36 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Ishara, > > IMHO this is a valid requirement. But as Vidura mentioned ATM we don;t > support dynamic binding from MSF4J. > So we need to implement this

Re: [Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-05 Thread Thusitha Thilina Dayaratne
Hi Ishara, IMHO this is a valid requirement. But as Vidura mentioned ATM we don;t support dynamic binding from MSF4J. So we need to implement this from MSF4J level. Then we can provide the ability to add/remove interceptors at the runtime. @Azeez, Kishanthan WDYT? Thanks Thusitha On Mon, Jun

Re: [Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-05 Thread Ishara Cooray
+ architecture I f you are asking about the dynamic interceptors similar to the dynamic binding of filters in JAX-RS spec [1], MSF4J currently do not support dynamic binding of interceptors. [1] https://access.redhat.com/documentation/en-us/red_hat_

Re: [Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-01 Thread Vidura Nanayakkara
Hi Ishara, So, can we have the support to be able to plug custom interceptors for > microservices? ​ I f you are asking about the dynamic interceptors similar to the dynamic binding of filters in JAX-RS spec [1], MSF4J currently do not support dynamic binding of interceptors. [1]

Re: [Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-01 Thread Ishara Cooray
Thanks for the clarification Vidura. So, can we have the support to be able to plug custom interceptors for microservices? Thanks & Regards, Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware On Thu, Jun 1, 2017 at 1:02

Re: [Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-01 Thread Vidura Nanayakkara
Hi Ishara, On Thu, Jun 1, 2017 at 12:29 PM, Ishara Cooray wrote: > According to the new Interceptor support in msf4j-2.3.0-m2 > > AFAIU, > We can bind interceptors for a given microservice as below. > > InterceptorService is the micro service that is going to be intercepted by

[Dev] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-01 Thread Ishara Cooray
According to the new Interceptor support in msf4j-2.3.0-m2 AFAIU, We can bind interceptors for a given microservice as below. InterceptorService is the micro service that is going to be intercepted by RequestInterceptors and Responseinterceptors annotated by @RequestInterceptor and