Browse Source

modify message prompt.

undefined
Savorboard 7 years ago
parent
commit
ea0e152d50
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/DotNetCore.CAP.SqlServer/CapPublisher.cs

+ 2
- 2
src/DotNetCore.CAP.SqlServer/CapPublisher.cs View File

@@ -60,7 +60,7 @@ namespace DotNetCore.CAP.SqlServer
{ {
dbConnection.Execute(PrepareSql(), message, dbTransaction); dbConnection.Execute(PrepareSql(), message, dbTransaction);


_logger.LogInformation("Published Message has been persisted in the database. name:" + message);
_logger.LogInformation("published message has been persisted to the database. name:" + message);
} }


protected override Task ExecuteAsync(IDbConnection dbConnection, IDbTransaction dbTransaction, protected override Task ExecuteAsync(IDbConnection dbConnection, IDbTransaction dbTransaction,
@@ -68,7 +68,7 @@ namespace DotNetCore.CAP.SqlServer
{ {
dbConnection.ExecuteAsync(PrepareSql(), message, dbTransaction); dbConnection.ExecuteAsync(PrepareSql(), message, dbTransaction);


_logger.LogInformation("Published Message has been persisted in the database. name:" + message);
_logger.LogInformation("published message has been persisted to the database. name:" + message);


return Task.CompletedTask; return Task.CompletedTask;
} }


Loading…
Cancel
Save