2 Replies Latest reply on Nov 13, 2009 4:05 AM by timfox

    Fix to filter iterator busy bug

    timfox

      The bug that was fixed for the queue filter iterator busy issue, I notice that now if the consumer is busy the iterator gets reset to the beginning of the queue.

      This seems inefficient to me, as if there are a lot of messages in the queue the iterator might have to scan all the way right through them the next time delivery is attempted.

      A better solution would just be to cache the last message obtained from the iterator and represent that, the iterator itself wouldn't have to be reset.