title: Can I configure azure function to peek and read message in service bus queue but not delete it?
body: <p>Per <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus" rel="noreferrer">Azure Functions Service Bus bindings</a>:</p>
  
  <p><strong>Trigger behavior</strong></p>
  
  <p>...</p>
  
  <p><em>PeekLock behavior - The Functions runtime receives a message in PeekLock mode and calls Complete on the message if the function finishes successfully, or calls Abandon if the function fails. If the function runs longer than the PeekLock timeout, the lock is automatically renewed.</em></p>
  
  <p>I am assuming that when azure function calls Complete on the message, it will be removed from the queue.</p>
  
  <p><strong>What should I do in my function if I want my function to spy on the message but never delete it?</strong></p>