title: Azure Request-Response Session Timeout handling
body: <p>We are using the azure service bus to facilitate the parallel processing of messages through workers listening to a queue.</p>
  
  <p>First an aggregated message is received and then this message is split in thousands of individual messages which are posted through a request-response pattern since we need to know when all messages have been completed to run a separate process.</p>
  
  <p>Our issue is that the request-response method has a timeout which is causing the following issue:</p>
  
  <p>Lets say we post 1000 messages to be processed and there is only one worker listening. Messages left in the queue after the timeout expiration are discarded which is something that we do not want. If we set the expiry time to a large value that will guarantee that all messages will be processed then we run the risk of a message failing and having to wait the timeout to understand that something has gone wrong.</p>
  
  <p>Is there a way to dynamically change the expiration of a single message in a request-response scenario or any other pattern that we should consider?</p>
  
  <p>Thanks!</p>