Class Sequence
Represents a set of logically related messages, like the chunks belonging to the same message or the messages in a dataset.
Inherited Members
Namespace: Silverback.Messaging.Sequences
Assembly: Silverback.Integration.dll
Syntax
public abstract class Sequence : SequenceBase<IInboundEnvelope>, ISequence, IDisposable
Constructors
| Improve this doc View sourceSequence(string, ConsumerPipelineContext, bool, TimeSpan?, bool)
Initializes a new instance of the Sequence class.
Declaration
protected Sequence(string sequenceId, ConsumerPipelineContext context, bool enforceTimeout = true, TimeSpan? timeout = null, bool trackIdentifiers = true)
Parameters
Type | Name | Description |
---|---|---|
string | sequenceId | The identifier that is used to match the consumed messages with their belonging sequence. |
ConsumerPipelineContext | context | The current ConsumerPipelineContext, assuming that it will be the one from which the sequence gets published to the internal bus. |
bool | enforceTimeout | A value indicating whether the timeout has to be enforced. |
TimeSpan? | timeout | The timeout to be applied. If not specified the value of |
bool | trackIdentifiers | Specifies whether the message identifiers have to be collected, in order to be used for the commit later on. |