Hi, You can take a look at the Karaf examples:
https://github.com/apache/karaf/tree/master/examples/karaf-websocket-example regards, François Papon fpa...@apache.org Le 26/02/2019 à 18:27, munishgupta.asr a écrit : > Hi Team > > I upgraded my karaf from 3.x to 4.2.2 and after that one of my bundles where > websocket is there is not working. > > After some changes able to make the my websocket server up but when tried to > connect that from client plugin it was not happening. > > In developer tools , network tab the response is showing 500 error. > > Can you please confirm are there any known limitation for websocket > annotations in karaf 4.x versions? > > I am using below annotations > import javax.websocket.ClientEndpoint; > import javax.websocket.CloseReason; > import javax.websocket.OnClose; > import javax.websocket.OnError; > import javax.websocket.OnMessage; > import javax.websocket.OnOpen; > import javax.websocket.Session; > import javax.websocket.server.ServerEndpoint; > > > Please do the needful > > Thanks > Munish > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html