GitHub user gmokki opened a pull request:
https://github.com/apache/wicket/pull/24
Implement wicket style websocket push events
This patch allows any thread (wicket or external) can push in events into
wicket pages. The wicket components on that page can then just modify their
state add themselves and the result will be pushed over websocket to the
connected browsers.
This is a newer version of the code attached to
https://issues.apache.org/jira/browse/WICKET-4832
An example application is available here:
https://github.com/jsyrjala/blogs/tree/websocket-broadcast-example/wicket6-websocket-broadcast
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NitorCreations/wicket master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/wicket/pull/24.patch
----
commit 597b6ef961e3e8ea18b947e1a4961545af04fc04
Author: Mikko Tiihonen <[email protected]>
Date: 2012-11-20T21:03:35Z
Fix wicket-experimental dependency versions
commit 76973f8d025b2e848f7fc84da0065a3e58081a7f
Author: Mikko Tiihonen <[email protected]>
Date: 2012-11-20T21:28:24Z
Add WebSocketPushBroadcaster and related infrastructure
commit 081ab52d47a7a8755d103a4b8fc8ddd9ec7b973b
Author: Mikko Tiihonen <[email protected]>
Date: 2012-11-20T22:59:45Z
Fix wicket atmosphere dependency versions
commit c3ca8d14155e80ec70614b665ca701857fb8f2d4
Author: Mikko Tiihonen <[email protected]>
Date: 2012-11-23T20:25:43Z
Force new requect cycle and fetching of correct session before processing
web socket push message
commit fe1f8ffcbe8e62bc6c422264cb7949c8f3a69d46
Author: Mikko Tiihonen <[email protected]>
Date: 2012-11-25T02:22:15Z
Run websocket push message processing through Executor interface and
provide default implementation SameThreadExecutor in the new WebSocketSettings.
Document the WebSocketPushBroadcaster behaviour in javadocs
----