Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New IConfigureLocalQueue mechanism for easier configuration of local queues when using sticky handlers #1224

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
wip
jeremydmiller committed Jan 16, 2025
commit 9e90c6cf262fffc1352798522752793c2f4f19f3
13 changes: 13 additions & 0 deletions src/Wolverine/Configuration/IConfigureLocalQueue.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Wolverine.Transports.Local;

namespace Wolverine.Configuration;

/// <summary>
/// Helps mark a handler to configure the local queue that its messages
/// would be routed to. It's probably only useful to use this with "sticky" handlers
/// that run on an isolated local queue
/// </summary>
public interface IConfigureLocalQueue
{
static abstract void Configure(LocalQueueConfiguration configuration);
}