Class EventingOptions
Namespace: Cephalon.Eventing.Configuration
Assembly: Cephalon.Eventing.dll
Configures the built-in eventing runtime pack.
public sealed class EventingOptionsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Remarks
Section titled “Remarks”These options seed the host-owned part of the eventing runtime. Installed modules can still
contribute additional channels through
Constructors
Section titled “Constructors”EventingOptions()
Section titled “ EventingOptions()”Creates eventing options with the default host-owned features enabled.
public EventingOptions()Properties
Section titled “Properties”Channels
Section titled “ Channels”Gets the host-defined event channels that should be available to the eventing runtime.
public IList<EventChannelDescriptor> Channels { get; }Property Value
Section titled “Property Value”ContinueInProcessSubscriptionExecutionAfterFailure
Section titled “ ContinueInProcessSubscriptionExecutionAfterFailure”Gets or sets a value indicating whether the in-process publisher should continue executing later subscriptions on the same channel after one subscription fails.
public bool ContinueInProcessSubscriptionExecutionAfterFailure { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The publisher still reports failed subscriptions and throws after the publication attempt finishes. This setting only controls whether independent subscriptions on the same channel get a chance to run before the failure is returned to the caller.
EnableInProcessSubscriptionExecution
Section titled “ EnableInProcessSubscriptionExecution”Gets or sets a value indicating whether the core eventing pack should execute matching subscription executors directly inside the current process when a publication is accepted.
public bool EnableInProcessSubscriptionExecution { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This is an opt-in managed execution baseline for lightweight hosts and tests. It is not a durable broker, inbox, or retry runtime; companion packs should still own those richer delivery guarantees when they are selected.
EnableInProcessSubscriptionIdempotency
Section titled “ EnableInProcessSubscriptionIdempotency”Gets or sets a value indicating whether the direct in-process publisher should suppress duplicate completed subscription executions for the same publication identifier.
public bool EnableInProcessSubscriptionIdempotency { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This is a bounded process-local guard for lightweight hosts. It records only successful
direct executions in memory and skips later duplicate subscriptionId + publicationId
pairs while the entry remains in the retention window. It is not a durable inbox,
cross-node idempotency store, or broker-owned exactly-once guarantee.
EnablePublishing
Section titled “ EnablePublishing”Gets or sets a value indicating whether publishing features are enabled.
public bool EnablePublishing { get; set; }Property Value
Section titled “Property Value”EnableSubscriptions
Section titled “ EnableSubscriptions”Gets or sets a value indicating whether subscription features are enabled.
public bool EnableSubscriptions { get; set; }Property Value
Section titled “Property Value”InProcessSubscriptionIdempotencyRetentionMinutes
Section titled “ InProcessSubscriptionIdempotencyRetentionMinutes”Gets or sets the number of minutes that successful direct in-process subscription executions remain eligible for duplicate suppression.
public int InProcessSubscriptionIdempotencyRetentionMinutes { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The default value is 60 minutes. The value is used only when
InProcessSubscriptionMaxAttempts
Section titled “ InProcessSubscriptionMaxAttempts”Gets or sets the maximum number of direct in-process execution attempts per matching subscription.
public int InProcessSubscriptionMaxAttempts { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The default value of 1 preserves the no-retry baseline. Values greater than 1
enable a bounded, process-local retry loop; this still does not provide durable broker,
inbox, or distributed retry guarantees.
InProcessSubscriptionRetryDelayMilliseconds
Section titled “ InProcessSubscriptionRetryDelayMilliseconds”Gets or sets the delay in milliseconds before the direct in-process publisher retries a failed subscription attempt.
public int InProcessSubscriptionRetryDelayMilliseconds { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The delay is applied only when 1. The default value of 0 retries immediately and is useful for tests
and lightweight process-local remediation paths.
Subscriptions
Section titled “ Subscriptions”Gets the host-defined event subscription descriptors that should be available to the eventing runtime.
public IList<EventSubscriptionDescriptor> Subscriptions { get; }