/// <inheritdoc />
        public override Task PublishAsync(MessageWrapper message)
        {
            if (string.IsNullOrWhiteSpace(RoutingKey) ||
                ShouldDeliverMessage(message))
            {
                return(MessageWrapperExtensions.PublishAsync(this, message));
            }

            return(Task.FromResult(true));
        }
 /// <inheritdoc />
 public override Task PublishAsync(MessageWrapper message)
 {
     return(MessageWrapperExtensions.PublishAsync(this, message));
 }