users@websocket-spec.java.net

[jsr356-users] _at_OnMessage once per endpoint?

From: Andy Moncsek <amo.ahcp_at_gmail.com>
Date: Thu, 14 Mar 2013 12:26:30 +0100

Hi,
I upgraded to glassfish b80 (tyrus 1.0-b13) today and realized that only
one @OnMessage works per Endpoint?! Can you confirm this? I get a
validation error from GF, so this seem to be a wanted behavior. Also in
tyrus SVN I can find comments like this: "MessageHandler registration
validity checking algorithm (also applicable for annotated case).". So what
was the reason to do so? Do I really have to deal with generic messages to
communicate with one endpoint?

Thanks

Andy