コード例 #1
0
        public SendSettings GetDeadLetterSettings(IQueueConfigurator configurator)
        {
            var description = configurator.GetQueueDescription();

            description.Path = description.Path + DeadLetterQueueSuffix;

            return(new QueueSendSettings(description));
        }
コード例 #2
0
        public SendSettings GetDeadLetterSettings(IQueueConfigurator configurator)
        {
            var description = configurator.GetQueueDescription();

            description.Path += DeadLetterQueueSuffix;

            var deadLetterSetting = new QueueSendSettings(description);

            ConfigureDeadLetterSettings?.Invoke(deadLetterSetting);

            return(deadLetterSetting);
        }
コード例 #3
0
        public SendSettings GetErrorSettings(IQueueConfigurator configurator)
        {
            var description = configurator.GetQueueDescription();

            description.Path += ErrorQueueSuffix;

            var errorSettings = new QueueSendSettings(description);

            ConfigureErrorSettings?.Invoke(errorSettings);

            return(errorSettings);
        }