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

Fix Tenant ID propagation for MassTransit #6144

Merged
merged 2 commits into from
Nov 24, 2024
Merged

Fix Tenant ID propagation for MassTransit #6144

merged 2 commits into from
Nov 24, 2024

Conversation

sfmskywalker
Copy link
Member

@sfmskywalker sfmskywalker commented Nov 24, 2024

Fixes #6133


This change is Reviewable

Update `TenantConsumeMiddleware` to utilize `ITenantFinder` and `ITenantScopeFactory` for tenant context management. Refactor `WorkflowMessageConsumer` to use constructor parameters directly for improved dependency injection. Additionally, replace private scope variable in `TenantScope` with a public property to enhance code clarity.
Updated WorkflowMessageConsumer to utilize IStimulusSender for handling message-triggered activities. Simplified dependencies and method calls to align with the new interface, improving the code's clarity and maintainability.
@sfmskywalker sfmskywalker merged commit 09a5c79 into main Nov 24, 2024
2 of 3 checks passed
@sfmskywalker sfmskywalker deleted the bug/6133 branch November 24, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Tenant ID Not Propagating Correctly for MassTransit
1 participant