I've created an azure web job which gets trigger on service bus queue messages. When i run the web job it processes the messages from the service bus queue, som my simple question is as follows;
Is there a way to make the web job just trigger on the new message delivered to the queue without processing it rendering the message complete and removed from the queue?
I am currently using "Servicebustrigger" to trigger the queue in my function class.
public void Processservicebus([ServiceBusTrigger("%Values:QueueName%", AutoCompleteMessages = false, Connection = "ServiceBusConnection")] string myQueueItem, ILogger log)
{
log.LogInformation(myQueueItem);
var testGetConfig = _configuration.GetValue<string>("Values:QueueName");
}