Example #1
0
        public Task <string> OpenAsync(CancellationToken cancellationToken)
        {
            EndpointResourceDescription endpoint = codePackageActivationContext.GetEndpoint(endpointName);

            var clusterConfig = nodeContext.ConfigureSeedNodes(akkaConfig, endpoint);
            var heliosConfig  = nodeContext.ConfigureHelios(endpoint);

            var config = heliosConfig.WithFallback(clusterConfig).WithFallback(akkaConfig);

            actorSystem = ActorSystem.Create(akkaConfig.GetString(Constants.Akka.SystemName));

            return(Task.FromResult(nodeContext.GetSelfAddress(akkaConfig, endpoint)));
        }