Class RawOutboundSpyBrokerBehavior
Added at the very end of the producer pipeline, forwards the produced IRaw
Inherited Members
Namespace: Silverback.Testing
Assembly: Silverback.Integration.Testing.dll
Syntax
public class RawOutboundSpyBrokerBehavior : IProducerBehavior, IBrokerBehavior, ISorted
Constructors
| Improve this doc View sourceRawOutboundSpyBrokerBehavior(IntegrationSpy)
Initializes a new instance of the Raw
Declaration
public RawOutboundSpyBrokerBehavior(IntegrationSpy integrationSpy)
Parameters
Type | Name | Description |
---|---|---|
Integration |
integrationSpy | The Integration |
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. |