public void DistributedPubSubMediator_with_Consistent_Hash_router_not_be_allowed_constructed_by_settings() { Intercept <ArgumentException>(() => { var config = DistributedPubSubMediatorRouterConfig.GetConfig("random") .WithFallback(Sys.Settings.Config) .GetConfig("akka.cluster.pub-sub"); DistributedPubSubSettings.Create(config).WithRoutingLogic(new ConsistentHashingRoutingLogic(Sys)); }); }
public DistributedPubSubMediatorWithHashRouterSpec() : base(DistributedPubSubMediatorRouterConfig.GetConfig("consistent-hashing")) { }
public DistributedPubSubMediatorWithRoundRobinRouterSpec() : base(DistributedPubSubMediatorRouterConfig.GetConfig("round-robin")) { }
public DistributedPubSubMediatorWithBroadcastRouterSpec() : base(DistributedPubSubMediatorRouterConfig.GetConfig("broadcast")) { }
public DistributedPubSubMediatorWithRandomRouterSpec() : base(DistributedPubSubMediatorRouterConfig.GetConfig("random")) { }