Using MessageReceiver only first time getting messages from topic using Azure Function after that next time when execute Function though I have messages into service bus topic still getting null into variable messages.
Using below code to get messages from Service Bus Topic , whats the cause?
string serviceBusConnectionString = Environment.GetEnvironmentVariable("ConnectionString");
var messageReceiver = new MessageReceiver(serviceBusConnectionString, Environment.GetEnvironmentVariable("topicName/subscriptions/subscriptionName"), ReceiveMode.PeekLock, null, 500);
var messages = await messageReceiver.ReceiveAsync(500, TimeSpan.FromSeconds(1));
i can't understand this - after every 15 minutes when LA call FA then FA should able to read new available messages but it is coming null
is there anything related with lock duration ?

