You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Robin Shine (JIRA)" <ji...@apache.org> on 2016/04/16 04:06:25 UTC

[jira] [Created] (WICKET-6143) Able to customize error handling when failed to broadcast message

Robin Shine created WICKET-6143:
-----------------------------------

             Summary: Able to customize error handling when failed to broadcast message
                 Key: WICKET-6143
                 URL: https://issues.apache.org/jira/browse/WICKET-6143
             Project: Wicket
          Issue Type: Wish
          Components: wicket-native-websocket
    Affects Versions: 7.2.0
            Reporter: Robin Shine
            Assignee: Martin Grigorov
            Priority: Minor


In method "broadcastMessage" of class "AbstractWebSocketProcessor", exceptions might be thrown when get payload for broadcasting. The code (line 246 in version 7.2.0) only logs an error statement without allowing user to add custom logic to handle the error. 

Right now, we modify the source code to send another web socket message to web UI notifying user of the error. It will be ideal to make the error handling here to be customizable by user without modifying the source code. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)