This content has been marked as final.
Show 2 replies
-
1. Re: Cluster of Wildfly and websocket
pferraro Mar 27, 2014 8:31 AM (in response to dometec)You might want to consider the CommandDispatcher API, described here:
https://community.jboss.org/wiki/ClusteringChangesInWildFly8
It lets you send/broadcast commands, either sync or async, to nodes in the cluster. You could maintain an Infinispan Cache<String, Node>, and dispatch a message command to the node corresponding to the user or set of users to which a user wants to communicate. Internally, it is based on the JGroups MessageDispatcher.
-
2. Re: Cluster of Wildfly and websocket
palermo Nov 25, 2018 5:48 AM (in response to pferraro)Hello,
How would you call an EJB method inside the command?
Thanks!