Table of Contents

Class RawSequence

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 RawSequence : SequenceBase<IRawInboundEnvelope>, ISequence, IDisposable
Inheritance
RawSequence
Implements
Derived
Inherited Members

Constructors

RawSequence(string, ConsumerPipelineContext, bool, TimeSpan?, IMessageStreamProvider?)

Initializes a new instance of the RawSequence class.

protected RawSequence(string sequenceId, ConsumerPipelineContext context, bool enforceTimeout = true, TimeSpan? timeout = null, IMessageStreamProvider? streamProvider = null)

Parameters

sequenceId string

The identifier that is used to match the consumed messages with their belonging sequence.

context ConsumerPipelineContext

The current ConsumerPipelineContext, assuming that it will be the one from which the sequence gets published via the message bus.

enforceTimeout bool

A value indicating whether the timeout has to be enforced.

timeout TimeSpan?

The timeout to be applied. If not specified the value of Endpoint.Sequence.Timeout will be used.

streamProvider IMessageStreamProvider

The IMessageStreamProvider to be pushed. A new one will be created if not provided.