Table of Contents

Method MapOutgoing

Namespace
Ratatoskr.RabbitMq
Assembly
Ratatoskr.RabbitMq.dll

MapOutgoing(byte[], MessageProperties, BasicProperties)

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

public byte[] MapOutgoing(byte[] serializedData, MessageProperties props, BasicProperties outgoing)

Parameters

serializedData byte[]

The serialized message data.

props MessageProperties

Message properties to map.

outgoing BasicProperties

RabbitMQ properties to populate.

Returns

byte[]

The message body to send.