示例#1
0
 protected Byte[] BuildBody(IMessage source, IBasicProperties properties)
 {
     return(properties.CreateEncoding()
            .GetBytes(properties.CreateSerializer(Configuration.SerializationConfiguration)
                      .Serialize(source.Content)));
 }