-
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.
#349 Azure Service Bus correlation filters
Signed-off-by: Richard Pringle <richardpringle@gmail.com>
- Loading branch information
Showing
8 changed files
with
173 additions
and
10 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
14 changes: 14 additions & 0 deletions
14
src/SlimMessageBus.Host.AzureServiceBus/Config/SubscriptionCorrelationRule.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,14 @@ | ||
namespace SlimMessageBus.Host.AzureServiceBus; | ||
|
||
public record SubscriptionCorrelationRule : SubscriptionRule | ||
{ | ||
public string CorrelationId { get; set; } | ||
public string MessageId { get; set; } | ||
public string To { get; set; } | ||
public string ReplyTo { get; set; } | ||
public string Subject { get; set; } | ||
public string SessionId { get; set; } | ||
public string ReplyToSessionId { get; set; } | ||
public string ContentType { get; set; } | ||
public IDictionary<string, object> ApplicationProperties { get; set; } | ||
} |
6 changes: 6 additions & 0 deletions
6
src/SlimMessageBus.Host.AzureServiceBus/Config/SubscriptionRule.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,6 @@ | ||
namespace SlimMessageBus.Host.AzureServiceBus; | ||
|
||
public abstract record SubscriptionRule | ||
{ | ||
public string Name { get; set; } | ||
} |
5 changes: 2 additions & 3 deletions
5
src/SlimMessageBus.Host.AzureServiceBus/Config/SubscriptionSqlFilter.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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
namespace SlimMessageBus.Host.AzureServiceBus; | ||
|
||
public record SubscriptionSqlRule | ||
public record SubscriptionSqlRule : SubscriptionRule | ||
{ | ||
public string Name { get; set; } | ||
public string SqlFilter { get; set; } | ||
public string SqlAction { get; set; } | ||
} | ||
} |
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