Contour.Transport.RabbitMQ.Topology.QueueBuilder.WithTtl C# (CSharp) Méthode

WithTtl() public méthode

Добавляет в построитель настройки времени жизни сообщений в очереди.
public WithTtl ( System.TimeSpan ttl ) : QueueBuilder
ttl System.TimeSpan Время жизни сообщений в очереди.
Résultat QueueBuilder
        public QueueBuilder WithTtl(TimeSpan ttl)
        {
            this.Instance.Ttl = ttl;
            return this;
        }