Closed bradoyler closed 4 months ago
Hi @shlomiassaf, I'm using this code within a controller
@Subscription<MethodDecorator>({ name: 'my-subscription', receiveMode: ReceiveMode.peekLock, topicName: 'my-topic', handlerOptions: { autoComplete: false, maxConcurrentCalls: 1, }, }) async topicUpdates(@Ctx() context: SbContext) { console.log(context.getData()); }
I receive the message, but it is still removed from the topic subscription, even though I am using autoComplete: false and never call context.getMessage().complete() Trying to understand why this might be happening. Thanks.
autoComplete: false
context.getMessage().complete()
@shlomiassaf I am using peer dependency @azure/service-bus@1.1.10
@azure/service-bus@1.1.10
Hi @shlomiassaf, I'm using this code within a controller
I receive the message, but it is still removed from the topic subscription, even though I am using
autoComplete: false
and never callcontext.getMessage().complete()
Trying to understand why this might be happening. Thanks.