primefaces-push

Primefaces push with dynamic paths is not working

戏子无情 提交于 2019-12-11 14:38:46
问题 I tried to implement the chat sample of primefaces-push, but it doesn't working. I run some tests and i figured out that using @PushEndpoint with fixed paths e.g. /channel , it works properly, however, using path params e.g. /channel/{userId} , the socket doesn't receive any message. I'm using: Wildfly 9.0.0-Final Primefaces 5.2 Atmosphere 2.3.3 web.xml: <servlet> <servlet-name>Push Servlet</servlet-name> <servlet-class>org.primefaces.push.PushServlet</servlet-class> <load-on-startup>1</load