Class MultiServerUserRegistry

java.lang.Object
org.springframework.messaging.simp.user.MultiServerUserRegistry
All Implemented Interfaces:
EventListener, ApplicationListener<ApplicationEvent>, SmartApplicationListener, Ordered, SimpUserRegistry

public class MultiServerUserRegistry extends Object implements SimpUserRegistry, SmartApplicationListener
SimpUserRegistry that looks up users in a "local" user registry as well as a set of "remote" user registries. The local registry is provided as a constructor argument while remote registries are updated via broadcasts handled by UserRegistryMessageHandler which in turn notifies this registry when updates are received.
Since:
4.2
Author:
Rossen Stoyanchev