-
Feature Request
-
Resolution: Done
-
Minor
-
1.0.0.Final
-
None
Hi,
I'm testing a programmatic websocket server endpoint (JSR-356 compatible), that can receive/send messages in different formats depending on the client's used subprotocol (i.e: "wamp.2.json", "wamp.2.msgpack", etc.).
It works in Tomcat8 and Glassfish4, but in WildFly 8.0.0.Final, the javax.websocket.Session.getNegotiatedSubprotocol method returns an empty string (""), so it doesn't know how to decode/encode the messages.
Also, it seems that the endpoint's custom ServerEndpointConfig.Configurator.getNegotiatedSubprotocol method is not been invoked.
Thank you.