Esempio n. 1
0
        public static ICqrsConfigurer AddCatalogEventsRoute(this ICqrsConfigurer configurer)
        {
            configurer.AddEventsRouteFromAssemblyOfType <MovieAddedEvent>(Queues.Catalog.EventsQueueName);

            return(configurer);
        }
Esempio n. 2
0
        public static ICqrsConfigurer AddVehicleEventsRoute(this ICqrsConfigurer configurer)
        {
            configurer.AddEventsRouteFromAssemblyOfType <VehicleAddedEvent>(Queues.Vehicle.EventsQueueName);

            return(configurer);
        }
Esempio n. 3
0
        public static ICqrsConfigurer AddPartEventsRoute(this ICqrsConfigurer configurer)
        {
            configurer.AddEventsRouteFromAssemblyOfType <PartAddedEvent>(Queues.Part.EventsQueueName);

            return(configurer);
        }