Queue shows false count RRS feed

  • Question

  • Hello

    This happened a lot of times so far. 

    When I run some code to move all messages from one queue to another I frequently end up with a state where a queue message count is greater than 0 but when peeking in queue messages there is none visible.

    This state is persistent and the only way to reset the message count is by calling the clear queue on this so called empty queue.

    Any ideas how can this happen?

    • Edited by rotemsol Wednesday, April 29, 2015 8:48 AM
    Wednesday, April 29, 2015 8:48 AM


  • Please check the message's visibility timeout period. Once expired it will automatically appear back in the queue.


    • Marked as answer by Manu Rekhar Monday, May 4, 2015 5:30 PM
    Wednesday, April 29, 2015 6:25 PM