Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4891

Websockets implementation does not accept multiple annotations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 9.0.0.Final
    • Web Sockets
    • None

      Only one single annotation is accepted for @OnOpen, @OnError, @OnClose.

      Other websockets implementations accept multiple @ for different methods with different parameters. The single annotation which is not accepted is @OnMessage - and this way it respects JSR-356

      Each websocket endpoint may only have one message handling method for each of the native websocket message formats: text, binary and pong

      https://docs.oracle.com/javaee/7/api/javax/websocket/OnMessage.html

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              vlcvlc Veli Cris (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: