Class ProducerPipelineContext
The context that is passed along the producer behaviors pipeline.
Inherited Members
Namespace: Silverback.Messaging.Broker.Behaviors
Assembly: Silverback.Integration.dll
Syntax
public class ProducerPipelineContext
Constructors
| Improve this doc View sourceProducerPipelineContext(IOutboundEnvelope, IProducer, IServiceProvider)
Initializes a new instance of the ProducerPipelineContext class.
Declaration
public ProducerPipelineContext(IOutboundEnvelope envelope, IProducer producer, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IOutboundEnvelope | envelope | The envelope containing the message to be produced. |
IProducer | producer | The IProducer that triggered this pipeline. |
IServiceProvider | serviceProvider | The IServiceProvider to be used to resolve the required services. |
Properties
| Improve this doc View sourceEnvelope
Gets or sets the envelope containing the message to be produced.
Declaration
public IOutboundEnvelope Envelope { get; set; }
Property Value
Type | Description |
---|---|
IOutboundEnvelope |
Producer
Gets the IProducer that triggered this pipeline.
Declaration
public IProducer Producer { get; }
Property Value
Type | Description |
---|---|
IProducer |
ServiceProvider
Gets or sets the IServiceProvider to be used to resolve the required services.
Declaration
public IServiceProvider ServiceProvider { get; set; }
Property Value
Type | Description |
---|---|
IServiceProvider |