public static Task BasicPublish(this IChannel source,
                                 string exchange, string routingKey,
                                 BasicProperties properties, byte[] buffer)
 {
     return(source.BasicPublish(exchange, routingKey, mandatory: false,
                                properties: properties, buffer: new ArraySegment <byte>(buffer)));
 }