1 Reply Latest reply on Feb 15, 2010 8:09 AM by Zemian Deng

    QueueImpl.FilterMessageHandler vs NullFilterMessageHandler

    Zemian Deng Apprentice

      Hi,

       

      I failed to see the reason to use FilterMessageHandler instead of NullFilterMessageHandler inside QueueImpl.java. Can someone explains why use FilterMessageHandler at all? It seems to have nothing to do with "filtered consumer" other than create a stored msg iterator from the queue, which creates problems when queue is trying to deliver prioritized messages. Can't we replace FilterMessageHandler directly with NullFilterMessageHandler?

       

      Thanks,

      Z