Thanks Samiyuru,
On Wed, May 4, 2016 at 1:12 PM, Samiyuru Senarathne <[email protected]> wrote: > Hi Hasitha, > > With the migration to the carbon-transports 2.0.x we have removed all > netty dependencies from MSF4J. Therefore it is no longer possible to > receive netty types using @Context as was possible in MSF4J 1.0.0. Instead > of the netty HttpRequest, MSF4J provides org.wso2.msf4j.Request object. > > Best Regards, > Samiyuru > > On Wed, May 4, 2016 at 1:05 PM, Hasitha Aravinda <[email protected]> wrote: > >> It seems like we have done some refactoring after MSF4J 1.0.0 release. >> [1]. I think code is correct, we are no longer supporting HttpRequest, >> but org.wso2.msf4j.Request. >> >> [1] - >> https://github.com/wso2/msf4j/commit/a5428eeb26c2164f52f73b110afc0607e43cc0e0?diff=split >> >> >> Thanks, >> Hasitha. >> >> On Wed, May 4, 2016 at 12:58 PM, Hasitha Aravinda <[email protected]> >> wrote: >> >>> Hi >>> team >>> , >>> >>> We are using @Context annotation with io.netty.handler.codec.http. >>> HttpRequest >>> >>> implementation [1] >>> in BPMN rest api >>> . >>> >>> According to [2] it is supported by MSF4J. But actually, we are not >>> handling >>> >>> HttpRequest instead we handle org.wso2.msf4j.Request [3]. >>> Is this correct ? >>> >>> >>> >>> [1] - >>> https://github.com/hasithaa/carbon-business-process/blob/601f811ea79fe47a2b62d0d4a717fd5855a953bb/components/bpmn/org.wso2.carbon.bpmn.rest/src/main/java/org/wso2/carbon/bpmn/rest/service/form/FormDataService.java#L95-L95 >>> >>> [2] >>> https://docs.wso2.com/display/MSF4J100/Key+Concepts#KeyConcepts-Parameterlevelannotations >>> >>> [3] - >>> https://github.com/wso2/msf4j/blob/929302cb7bc23f47135b0f6b81fd4616e19ccbf2/core/src/main/java/org/wso2/msf4j/internal/router/HttpResourceModelProcessor.java#L123 >>> >>> Thanks. >>> Hasitha. >>> >>> -- >>> -- >>> Hasitha Aravinda, >>> Senior Software Engineer, >>> WSO2 Inc. >>> Email: [email protected] >>> Mobile : +94 718 210 200 >>> >> >> >> >> -- >> -- >> Hasitha Aravinda, >> Senior Software Engineer, >> WSO2 Inc. >> Email: [email protected] >> Mobile : +94 718 210 200 >> > > > > -- > Samiyuru Senarathne > *Software Engineer* > Mobile : +94 (0) 71 134 6087 > [email protected] > -- -- Hasitha Aravinda, Senior Software Engineer, WSO2 Inc. Email: [email protected] Mobile : +94 718 210 200
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
