public TextCommunicationController(ITextCommunicationService textCommunicationService, IConfigurationWrapper configurationWrapper, IUserImpersonationService userImpersonationService,
                                    IMessageQueueFactory messageQueueFactory = null, IMessageFactory messageFactory = null, IMessageQueue messageQueue = null) : base(userImpersonationService)
 {
     _textCommunicationService = textCommunicationService;
     _eventQueueName           = configurationWrapper.GetConfigValue("ScheduledJobsQueueName");
     _streamReminderTemplateId = configurationWrapper.GetConfigIntValue("StreamReminderTemplate");
     _messageQueue             = messageQueue;
     _messageQueue.CreateQueue(_eventQueueName, QueueAccessMode.Send);
     _messageFactory = messageFactory;
 }
Beispiel #2
0
 public SendTextMessageJob(ITextCommunicationService textCommunicationService, ICommunicationRepository communicationService)
 {
     _textCommunicationService = textCommunicationService;
     _communicationService     = communicationService;
 }