/// <summary> /// Creates an instance of this behavior thingie with all the defaults set /// </summary> public ConfigureAdditionalBehavior() { HandleMessagesInTransactionScope = false; OneWayClientMode = false; BackoffBehavior = BackoffBehavior.Default(); PossiblyInitializeFromConfigurationSection(); }
void PossiblyInitializeFromConfigurationSection() { var config = RebusConfigurationSection.LookItUp(); if (config == null) { return; } if (!string.IsNullOrWhiteSpace(config.AuditQueue)) { PerformMessageAudit(config.AuditQueue); } BackoffBehavior = BackoffBehavior.Default(); }
/// <summary> /// Creates an instance of this behavior thingie with all the defaults set /// </summary> public ConfigureAdditionalBehavior() { HandleMessagesInTransactionScope = false; OneWayClientMode = false; BackoffBehavior = BackoffBehavior.Default(); }