1 2 3 Previous Next 43 Replies Latest reply on Aug 19, 2010 11:13 AM by Tim Fox

    Filter problem

    wiktorowski maximilien Novice

      Hi,

       

      We are using queues with filters in our app and have a huge problem with it.

       

      If there is a message in the queue that doesn't match any consumer filter, hornetq server try to deliver the message indefinitelly consuming 100% cpu of a core.

       

      The loop is done in org.hornetq.core.server.impl.QueueImpl.deliver()  that call executor.execute(deliverRunner); because there is no match.

       

      I have attach a simple example that just send a message in a queue and add a consumer with a non matching filter.

       

      Thanks,

      Maximilien

        1 2 3 Previous Next