Table of Contents

Interface IRabbitMqEnvelopeMapper

Namespace
Ratatoskr.RabbitMq
Assembly
Ratatoskr.RabbitMq.dll

Maps between MessageProperties and RabbitMQ message properties.

public interface IRabbitMqEnvelopeMapper

Methods

MapIncoming(BasicDeliverEventArgs)

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

MapOutgoing(byte[], MessageProperties, BasicProperties)

Maps outgoing message to RabbitMQ properties. Returns the body to send (might be wrapped for structured mode).