Class SequenceSettings
The sequence handling settings.
Inherited Members
Namespace: Silverback.Messaging.Sequences
Assembly: Silverback.Integration.dll
Syntax
public sealed class SequenceSettings : IEquatable<SequenceSettings>, IValidatableEndpointSettings
Properties
| Improve this doc View sourceTimeout
Gets or sets the timeout after which an incomplete sequence that isn't pushed with new messages will be aborted and discarded. The default is a conservative 30 minutes.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
This setting is ignored for batches (BatchSequence), use the MaxWaitTime instead.
Methods
| Improve this doc View sourceEquals(SequenceSettings?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(SequenceSettings? other)
Parameters
Type | Name | Description |
---|---|---|
SequenceSettings | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Improve this doc View sourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
| Improve this doc View sourceValidate()
Throws an EndpointConfigurationException if the current configuration is not valid.
Declaration
public void Validate()