Class DecryptorConsumerBehavior
- Namespace
- Silverback.Messaging.Encryption
- Assembly
- Silverback.Integration.dll
Decrypts the message according to the IDecryptionSettings.
public class DecryptorConsumerBehavior : IConsumerBehavior, IBrokerBehavior, ISorted
- Inheritance
-
DecryptorConsumerBehavior
- Implements
- Inherited Members
Constructors
DecryptorConsumerBehavior(ISilverbackCryptoStreamFactory)
Initializes a new instance of the DecryptorConsumerBehavior class.
public DecryptorConsumerBehavior(ISilverbackCryptoStreamFactory streamFactory)
Parameters
streamFactoryISilverbackCryptoStreamFactory
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.