Class OutboundSpyBrokerBehavior
Added at the very beginning of the producer pipeline, forwards the published IOutboundEnvelope to the IIntegrationSpy.
Inheritance
System.Object
OutboundSpyBrokerBehavior
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Testing
Assembly: Silverback.Integration.Testing.dll
Syntax
public class OutboundSpyBrokerBehavior : IProducerBehavior, IBrokerBehavior, ISorted
Constructors
| Improve this doc View sourceOutboundSpyBrokerBehavior(IntegrationSpy)
Initializes a new instance of the OutboundSpyBrokerBehavior class.
Declaration
public OutboundSpyBrokerBehavior(IntegrationSpy integrationSpy)
Parameters
Type | Name | Description |
---|---|---|
IntegrationSpy | integrationSpy | The IntegrationSpy. |
Properties
| Improve this doc View sourceSortIndex
Declaration
public int SortIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this doc View sourceHandleAsync(ProducerPipelineContext, ProducerBehaviorHandler)
Declaration
public Task HandleAsync(ProducerPipelineContext context, ProducerBehaviorHandler next)
Parameters
Type | Name | Description |
---|---|---|
ProducerPipelineContext | context | |
ProducerBehaviorHandler | next |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |