Skip to content

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

@microfu

Description

@microfu

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);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions