Method MapIncoming
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
incomingBasicDeliverEventArgsThe incoming RabbitMQ message.
Returns
- (byte[] body, MessageProperties props)
A tuple containing the body to deserialize and the mapped properties.