Class EncryptorProducerBehavior
Encrypts the message according to the Encryption
Inherited Members
Namespace: Silverback.Messaging.Encryption
Assembly: Silverback.Integration.dll
Syntax
public class EncryptorProducerBehavior : IProducerBehavior, IBrokerBehavior, ISorted
Constructors
| Improve this doc View sourceEncryptorProducerBehavior(ISilverbackCryptoStreamFactory)
Initializes a new instance of the Encryptor
Declaration
public EncryptorProducerBehavior(ISilverbackCryptoStreamFactory streamFactory)
Parameters
Type | Name | Description |
---|---|---|
ISilverback |
streamFactory |
Properties
| Improve this doc View sourceSortIndex
Gets the sort index.
Declaration
public int SortIndex { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Improve this doc View sourceHandleAsync(ProducerPipelineContext, ProducerBehaviorHandler)
Process, handles or transforms the message being produced.
Declaration
public Task HandleAsync(ProducerPipelineContext context, ProducerBehaviorHandler next)
Parameters
Type | Name | Description |
---|---|---|
Producer |
context | The context that is passed along the behaviors pipeline. |
Producer |
next | The next behavior in the pipeline. |