/// <summary> /// Initializes a new instance of the <see cref="AtLeastOnceDeliveryReceiveActor"/> class. /// </summary> /// <param name="settings">Custom AtLeastOnceDelivery settings</param> protected AtLeastOnceDeliveryReceiveActor(PersistenceSettings.AtLeastOnceDeliverySettings settings) { _atLeastOnceDeliverySemantic = new AtLeastOnceDeliverySemantic(Context, settings); }
/// <summary> /// Initializes a new instance of the <see cref="AtLeastOnceDeliveryReceiveActor"/> class. /// </summary> /// <param name="overrideSettings">A lambda to tweak the default AtLeastOnceDelivery settings.</param> protected AtLeastOnceDeliveryReceiveActor(Func <PersistenceSettings.AtLeastOnceDeliverySettings, PersistenceSettings.AtLeastOnceDeliverySettings> overrideSettings) { var settings = overrideSettings(Extension.Settings.AtLeastOnceDelivery); _atLeastOnceDeliverySemantic = new AtLeastOnceDeliverySemantic(Context, settings); }
/// <summary> /// Initializes a new instance of the <see cref="AtLeastOnceDeliveryReceiveActor"/> class. /// </summary> protected AtLeastOnceDeliveryReceiveActor() { _atLeastOnceDeliverySemantic = new AtLeastOnceDeliverySemantic(Context, Extension.Settings.AtLeastOnceDelivery); }