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

Advance Message Context is null when message is received #427

Open
AGranosik opened this issue Feb 24, 2023 · 0 comments
Open

Advance Message Context is null when message is received #427

AGranosik opened this issue Feb 24, 2023 · 0 comments

Comments

@AGranosik
Copy link

Hello!
I started using RawRabbit and everything worked fine until now.
I want to requeue messages in case of failure like described here:
https://rawrabbit.readthedocs.io/en/master/Delayed-requeue-of-messages.html

Configuration
services.AddSingleton<IBusClient<AdvancedMessageContext>>(client);

And subscription
client.SubscribeAsync<T>(async (msg, context) => // context is null here)
so I cannot use: context.RetryLater(TimeSpan.FromMinutes(5));

Is there anything that i miss during configuration?

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

No branches or pull requests

1 participant