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

Rebus 8: in-memory subscription storage registration fails #9

Closed
fw2568 opened this issue Mar 17, 2024 · 0 comments · Fixed by #15
Closed

Rebus 8: in-memory subscription storage registration fails #9

fw2568 opened this issue Mar 17, 2024 · 0 comments · Fixed by #15

Comments

@fw2568
Copy link
Contributor

fw2568 commented Mar 17, 2024

With Rebus 8 the in-memory transport registers itself as subscription storage.

Therefore the registration of the memory storage fails:

case "inmemory":
configurer.StoreInMemory(_store);
break;

Looks like that we have to branch for Rebus < 8 and >= 8.

A alternative may be to check if the InMemTransport implements ISubscriptionStorage before trying to register the subscription storage.

See also: rebus-org/Rebus@3ed9e20#diff-937b4df7b04777b940a19339de36f4fd40ca6574f09054058395bf70e2f2c5e4

AB#651

@fw2568 fw2568 linked a pull request Apr 22, 2024 that will close this issue
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 a pull request may close this issue.

1 participant