1 Reply Latest reply: Jul 17, 2012 4:07 PM by 758358 RSS

    Checking Queue for Messages from .NET

    948826
      Hi, this is hopefully a simple question - is there a way to check a queue for messages which are awaiting processing from .NET? If I put a queue into a message and then start a .NET application and try to Dequeue, I get nothing back and the application receives the standard error after the DequeueOptions.Wait period has elapsed.

      Thanks
        • 1. Re: Checking Queue for Messages from .NET
          758358
          Hi,

          if there is a message in the queue ready for processing then a DQ attempt should pick it up, if there isn't then your DQ should wait the specified duration (as given in your DQ options) and then timeout with a specific ORA- message, it is up to you how you handle this in .NET - catch the error, go to sleep for 5 minutes and then try again ?

          Thanks
          Paul