Fixed bugs in EventBusServiceBus project

This commit is contained in:
Sumit Ghosh 2021-10-21 14:22:01 +05:30
parent b0576ee9b8
commit 8066693d8c

View File

@ -121,7 +121,7 @@ public class EventBusServiceBus : IEventBus
var messageData = Encoding.UTF8.GetString(message.Body);
// Complete the message so that it is not received again.
if (await ProcessEvent(eventName, messageData))
if (await ProcessEventAsync(eventName, messageData))
{
await _serviceBusPersisterConnection.SubscriptionClient.CompleteAsync(message.SystemProperties.LockToken);
}