Skip to content

Commit 9a698b6

Browse files
committed
Initial base idempotence implementation.
1 parent b04f61f commit 9a698b6

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

Shuttle.Esb.Idempotence.Tests/.package/package.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<owners>Eben Roux</owners>
99
<icon>images\logo.png</icon>
1010
<readme>docs\README.md</readme>
11-
<repository type="git" url="https://github.com/Shuttle/Shuttle.Esb.Sql.Idempotence.git" />
12-
<projectUrl>https://github.com/Shuttle/Shuttle.Esb.Sql.Idempotence</projectUrl>
11+
<repository type="git" url="https://github.com/Shuttle/Shuttle.Esb.Idempotence.git" />
12+
<projectUrl>https://github.com/Shuttle/Shuttle.Esb.Idempotence</projectUrl>
1313
<description>Fixture for testing base idempotence implementations.</description>
14-
<copyright>Copyright (c) 2024, Eben Roux</copyright>
14+
<copyright>Copyright (c) 2025, Eben Roux</copyright>
1515
<tags></tags>
1616
<dependencies>
1717
<dependency id="Microsoft.Extensions.Configuration.Json" version="8.0.1" />

Shuttle.Esb.Idempotence.Tests/IdempotenceMessageRouteProvider.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
public class IdempotenceMessageRouteProvider : IMessageRouteProvider
44
{
5+
public async Task AddAsync(IMessageRoute messageRoute)
6+
{
7+
await Task.CompletedTask.ConfigureAwait(false);
8+
}
9+
510
public async Task<IEnumerable<string>> GetRouteUrisAsync(string messageType)
611
{
712
return await Task.FromResult(GetRouteUris(messageType)).ConfigureAwait(false);
@@ -12,9 +17,5 @@ public IEnumerable<string> GetRouteUris(string messageType)
1217
return new List<string> { "transient-queue://./idempotence-inbox-work" };
1318
}
1419

15-
public void Add(IMessageRoute messageRoute)
16-
{
17-
}
18-
1920
public IEnumerable<IMessageRoute> MessageRoutes => [];
2021
}

Shuttle.Esb.Idempotence.Tests/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#endif
1111

1212
[assembly: AssemblyVersion("20.0.0.0")]
13-
[assembly: AssemblyCopyright("Copyright (c) 2024, Eben Roux")]
13+
[assembly: AssemblyCopyright("Copyright (c) 2025, Eben Roux")]
1414
[assembly: AssemblyProduct("Shuttle.Esb.Idempotence.Tests")]
1515
[assembly: AssemblyCompany("Eben Roux")]
1616
[assembly: AssemblyConfiguration("Release")]

Shuttle.Esb.Idempotence/.package/package.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<repository type="git" url="https://github.com/Shuttle/Shuttle.Esb.Idempotence.git" />
1414
<projectUrl>https://github.com/Shuttle/Shuttle.Esb.Idempotence</projectUrl>
1515
<description>Base idempotence implementation.</description>
16-
<copyright>Copyright (c) 2024, Eben Roux</copyright>
16+
<copyright>Copyright (c) 2025, Eben Roux</copyright>
1717
<tags>idempotence</tags>
1818
<dependencies>
1919
<dependency id="Shuttle.Esb" version="20.0.0" />

Shuttle.Esb.Idempotence/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#endif
1111

1212
[assembly: AssemblyVersion("20.0.0.0")]
13-
[assembly: AssemblyCopyright("Copyright (c) 2024, Eben Roux")]
13+
[assembly: AssemblyCopyright("Copyright (c) 2025, Eben Roux")]
1414
[assembly: AssemblyProduct("Shuttle.Esb.Idempotence")]
1515
[assembly: AssemblyCompany("Eben Roux")]
1616
[assembly: AssemblyConfiguration("Release")]

0 commit comments

Comments
 (0)