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