Exemplo n.º 1
0
        public static void UseEventStore(this ProjectionGatewayConfiguration projectionGatewayConfiguration, ConnectionSettings connection, ClusterSettings clusterSettings, IPEndPoint tcpEndpoint)
        {
            var eventStoreConnection = EventStoreConnection.Create(connection, clusterSettings);

            ProjectionManager.Configure(projectionGatewayConfiguration, tcpEndpoint, connection.DefaultUserCredentials);
            Start(projectionGatewayConfiguration, eventStoreConnection);
        }