Fixed bugs in EventBusServiceBus project
This commit is contained in:
parent
b0576ee9b8
commit
8066693d8c
@ -121,7 +121,7 @@ public class EventBusServiceBus : IEventBus
|
|||||||
var messageData = Encoding.UTF8.GetString(message.Body);
|
var messageData = Encoding.UTF8.GetString(message.Body);
|
||||||
|
|
||||||
// Complete the message so that it is not received again.
|
// 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);
|
await _serviceBusPersisterConnection.SubscriptionClient.CompleteAsync(message.SystemProperties.LockToken);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user