Table of Contents

Method MapIncoming

Namespace
Ratatoskr.RabbitMq
Assembly
Ratatoskr.RabbitMq.dll

MapIncoming(BasicDeliverEventArgs)

Maps incoming RabbitMQ message to MessageProperties. Returns the body to deserialize (extracted from envelope for structured mode).

public (byte[] body, MessageProperties props) MapIncoming(BasicDeliverEventArgs incoming)

Parameters

incoming BasicDeliverEventArgs

The incoming RabbitMQ message.

Returns

(byte[] body, MessageProperties props)

A tuple containing the body to deserialize and the mapped properties.