[jboss-jira] [JBoss JIRA] (WFLY-4891) Websockets implementation does not accept multiple annotations

Veli Cris (JIRA) issues at jboss.org
Thu Jul 9 07:49:03 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088152#comment-13088152 ] 

Veli Cris commented on WFLY-4891:
---------------------------------

java.lang.RuntimeException: javax.websocket.DeploymentException: UT003011: More than one method is annotated with interface javax.websocket.OnOpen

java.lang.RuntimeException: javax.websocket.DeploymentException: UT003011: More than one method is annotated with interface javax.websocket.OnError

java.lang.RuntimeException: javax.websocket.DeploymentException: UT003011: More than one method is annotated with interface javax.websocket.OnClose

> Websockets implementation does not accept multiple annotations 
> ---------------------------------------------------------------
>
>                 Key: WFLY-4891
>                 URL: https://issues.jboss.org/browse/WFLY-4891
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web Sockets
>    Affects Versions: 9.0.0.Final
>         Environment: Linux/WildFly 9.0.0.Final
>            Reporter: Veli Cris
>            Assignee: Stuart Douglas
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list