문제

i want to use websocket with apache karaf or other osgi container such as "service mix, felix, ..." The problem is karaf 2.3 or 3.0 use jetty with 8.X max. And jsr 356 has implemented only with jetty 9.X. If you have a really nice example would. I resigned myself to use camel but I can not handle sessions as I want.

http://docs.oracle.com/javaee/7/tutorial/doc/websocket.htm

도움이 되었습니까?

해결책

I use now https://github.com/mrniko/netty-socketio It is the better solution for compatibility and integration easy in karaf, felix, equinox...

다른 팁

It could be more easier if you ask the help from the apache-karaf to upgrade the jetty version to 9.x.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top