static WidgetDisplayedNotificationSender() { try { Logger.Current.Debug("WidgetDisplayedNotificationSender.Initialize", "Initializing queues"); QueueInitializer.InitializeSender <Queuable <WidgetDisplayedEvent> >(ref _queue, WidgetDisplayedQueue); Logger.Current.Debug("WidgetDisplayedNotificationSender.Initialize", "Initialization succeeded"); } catch (Exception e) { Logger.Current.Error("WidgetDisplayedNotificationSender.Initialize", "Error during queue initialization", e); } }
static UserActedNotificationSender() { try { Logger.Current.Debug("UserActedNotificationSender.Initialize", "Initializing queues"); QueueInitializer.InitializeSender <Queuable <GraphUserActed> >(ref _queue, GraphUserActionQueueName); Logger.Current.Debug("UserActedNotificationSender.Initialize", "Initialization succeeded"); } catch (Exception e) { Logger.Current.Error("UserActedNotificationSender.Initialize", "Error during queue initialization", e); } }
static CatalogEntityNotificationSender() { try { Logger.Current.Debug("CatalogEntityNotificationSender.Initialize", "Initializing queues"); QueueInitializer.InitializeSender <Queuable <GraphItemsUpdated> >(ref _queue, GraphItemsUpdatedQueue); Logger.Current.Debug("CatalogEntityNotificationSender.Initialize", "Initialization succeeded"); } catch (Exception e) { Logger.Current.Error("CatalogEntityNotificationSender.Initialize", "Error during queue initialization", e); } }