Class DeserializerConsumerBehavior
- Namespace
- Silverback.Messaging.Serialization
- Assembly
- Silverback.Integration.dll
Deserializes the messages being consumed using the configured IMessageSerializer.
public class DeserializerConsumerBehavior : IConsumerBehavior, IBrokerBehavior, ISorted
- Inheritance
-
DeserializerConsumerBehavior
- Implements
- Inherited Members
Constructors
DeserializerConsumerBehavior()
public DeserializerConsumerBehavior()
Properties
SortIndex
Gets the sort index.
public int SortIndex { get; }
Property Value
Methods
HandleAsync(ConsumerPipelineContext, ConsumerBehaviorHandler, CancellationToken)
Process, handles or transforms the message being consumed.
public ValueTask HandleAsync(ConsumerPipelineContext context, ConsumerBehaviorHandler next, CancellationToken cancellationToken)
Parameters
contextConsumerPipelineContextThe context that is passed along the behaviors pipeline.
nextConsumerBehaviorHandlerThe next behavior in the pipeline.
cancellationTokenCancellationTokenThe cancellation token that can be used to cancel the operation.