Table of Contents

Method BeforeDispatchAsync

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

BeforeDispatchAsync(byte[], MessageProperties, string, string, CancellationToken)

Called before a message is dispatched to handlers.

Task<RouteInterceptResult> BeforeDispatchAsync(byte[] body, MessageProperties properties, string transportName, string channelName, CancellationToken cancellationToken)

Parameters

body byte[]
properties MessageProperties
transportName string
channelName string
cancellationToken CancellationToken

Returns

Task<RouteInterceptResult>

Result indicating whether any handlers were accepted for deferred processing.