-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tomasz Maruszak <[email protected]>
- Loading branch information
Showing
40 changed files
with
367 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
namespace SlimMessageBus.Host.Outbox.Sql; | ||
|
||
public interface ISqlOutboxRepository : IOutboxRepository | ||
public interface ISqlOutboxRepository : IOutboxMessageRepository | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/SlimMessageBus.Host.Outbox/Repositories/IOutboxMessageFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace SlimMessageBus.Host.Outbox; | ||
|
||
/// <summary> | ||
/// Factory for creating outbox messages | ||
/// </summary> | ||
public interface IOutboxMessageFactory | ||
{ | ||
/// <summary> | ||
/// Create a new outbox message and store it using the underlying store | ||
/// </summary> | ||
/// <param name="busName"></param> | ||
/// <param name="headers"></param> | ||
/// <param name="path"></param> | ||
/// <param name="messageType"></param> | ||
/// <param name="messagePayload"></param> | ||
/// <param name="cancellationToken"></param> | ||
/// <returns>ID of the <see cref="OutboxMessage"/>.</returns> | ||
Task<Guid> Create( | ||
string busName, | ||
IDictionary<string, object> headers, | ||
string path, | ||
string messageType, | ||
byte[] messagePayload, | ||
CancellationToken cancellationToken); | ||
} |
Oops, something went wrong.