On Wed, Dec 7, 2016 at 3:31 PM, Irunika Weeraratne <[email protected]> wrote:
> Hi, > I'm currently working on the implementation of WebSocket support for MSF4J. > > *Overview* > > > Currently, Carbon-Transport only supports HTTP. So we need to give it the > ability to handle WebSocket Frames. > Also, we are planning to use existing Carbon-Messaging to process incoming > messages. But in WebSocket, a response for a request is not a must. User > has to handle it if there is a need of sending a response. > Also, we need to give the user the ability to do server pushes using the > WebSocket Sessions and to do so we need to have the reference of Netty's > Channel Handler Context. > > In MSF4J > > - Need a separate Registry to register WebSocket EndPoints since > WebSoocket EndPoints are different from MicroServices > - Message Processor gets the correct EndPoint from the registry and > dispatch the message > > > Any thoughts? > You haven't mention about the programming model and developer experience here, for MSF4J RESTful services we reuse subset of JAX-RS spec, IMO for WebSocket we should use sub set of JSR 356 [1] (Java API for WebSocket) spec instead of inventing our own programming model. You can tryout RI samples from here [2]. [1] - https://www.jcp.org/en/jsr/detail?id=356 [2] - https://tyrus.java.net/ Thanks ! > > Thanks & Best Regards, > Irunika > *Irunika Weeraratne* > *Software Engineer | WSO2, Inc. <http://wso2.com/>* > *Email : [email protected] <[email protected]>* > *LinkedIn : https://lk.linkedin.com/in/irunika > <https://lk.linkedin.com/in/irunika>* > *Mobile : +94712403314 <+94%2071%20240%203314>* > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Sagara Gunathunga Associate Director / Architect; WSO2, Inc.; http://wso2.com V.P Apache Web Services; http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
