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

Websockets implementation does not accept multiple annotations

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 9.0.0.Final
    • Fix Version/s: None
    • Component/s: Web Sockets
    • Labels:
      None
    • Environment:

      Linux/WildFly 9.0.0.Final

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swd847 Stuart Douglas
                Reporter:
                vlcvlc Veli Cris
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: