Table of Contents

Class CopyContextPipe

Namespace
MassTransit.Middleware
Assembly
MassTransit.Abstractions.dll
public class CopyContextPipe : IPipe<SendContext>, IProbeSite
Inheritance
CopyContextPipe
Implements
Inherited Members
Extension Methods

Constructors

CopyContextPipe(ConsumeContext, Action<ConsumeContext, SendContext>?)

public CopyContextPipe(ConsumeContext context, Action<ConsumeContext, SendContext>? callback = null)

Parameters

context ConsumeContext
callback Action<ConsumeContext, SendContext>

Methods

Probe(ProbeContext)

public void Probe(ProbeContext context)

Parameters

context ProbeContext

Send(SendContext)

The base primitive, Send delivers the pipe context of T to the pipe.

public Task Send(SendContext context)

Parameters

context SendContext

The pipe context of type T

Returns

Task

A task which is completed once the pipe has processed the context