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

"HandleMessage" is not callback. What is the reason? #5

Open
microfu opened this issue Jan 25, 2022 · 0 comments
Open

"HandleMessage" is not callback. What is the reason? #5

microfu opened this issue Jan 25, 2022 · 0 comments

Comments

@microfu
Copy link

microfu commented Jan 25, 2022

hi,
The "OnStartConfimingEvent” method of "MyInjectableRabbitMqConsumer" of this class works normally, but "HandleMessage" is not callback. What is the reason?

private Task HandleMessage(IMessage message, MessageReceivedInfo info,
CancellationToken token)
{
Logger.LogDebug($"Received untyped message: {message.Body}");

        return Task.FromResult(AckStrategies.Ack);
    }
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