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

Websockets implementation does not accept multiple annotations

    XMLWordPrintable

Details

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

    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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: