diff --git a/knightbus-postgresql/src/KnightBus.PostgreSql/KnightBus.PostgreSql.csproj b/knightbus-postgresql/src/KnightBus.PostgreSql/KnightBus.PostgreSql.csproj index 7cf017e0..9f3ac8b5 100644 --- a/knightbus-postgresql/src/KnightBus.PostgreSql/KnightBus.PostgreSql.csproj +++ b/knightbus-postgresql/src/KnightBus.PostgreSql/KnightBus.PostgreSql.csproj @@ -19,7 +19,6 @@ - diff --git a/knightbus-postgresql/src/KnightBus.PostgreSql/PostgresConfiguration.cs b/knightbus-postgresql/src/KnightBus.PostgreSql/PostgresConfiguration.cs index 48b9dc7c..87141f2e 100644 --- a/knightbus-postgresql/src/KnightBus.PostgreSql/PostgresConfiguration.cs +++ b/knightbus-postgresql/src/KnightBus.PostgreSql/PostgresConfiguration.cs @@ -1,6 +1,5 @@ using KnightBus.Core; using KnightBus.Messages; -using KnightBus.Newtonsoft; namespace KnightBus.PostgreSql; @@ -20,6 +19,6 @@ public PostgresConfiguration(string connectionString) public PostgresConfiguration() { } public string ConnectionString { get; set; } = null!; - public IMessageSerializer MessageSerializer { get; set; } = new NewtonsoftSerializer(); + public IMessageSerializer MessageSerializer { get; set; } = new MicrosoftJsonSerializer(); public TimeSpan PollingSleepInterval { get; set; } = TimeSpan.FromSeconds(5); }