Skip to content

Commit

Permalink
MS serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Hartenberger committed Apr 16, 2024
1 parent dc0b111 commit a043efa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\knightbus-newtonsoft\src\KnightBus.Newtonsoft\KnightBus.Newtonsoft.csproj"/>
<ProjectReference Include="..\..\..\knightbus\src\KnightBus.Core\KnightBus.Core.csproj"/>
<ProjectReference Include="..\KnightBus.PostgreSql.Messages\KnightBus.PostgreSql.Messages.csproj"/>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using KnightBus.Core;
using KnightBus.Messages;
using KnightBus.Newtonsoft;

namespace KnightBus.PostgreSql;

Expand All @@ -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);
}

0 comments on commit a043efa

Please sign in to comment.