Method MapOutgoing
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
serializedDatabyte[]The serialized message data.
propsMessagePropertiesMessage properties to map.
outgoingBasicPropertiesRabbitMQ properties to populate.
Returns
- byte[]
The message body to send.