1 Reply Latest reply on Mar 26, 2012 5:46 PM by Clebert Suconic

    HornetQ messages not being delivered to MDB

    Jim B Newbie

      We've recently upgraded to using the default HornetQ implementation with JBoss 6.1 and have found that certain messages are not being delivered to our MDB.  We don't encounter any errors and have traced messages that have been placed in queue, but have never gotton out of the queue.  We've also seen that the MessageCount and the DeliveringCount both increase in these scenarios and never get out of this state.

       

      Has anybody run into similar issues or any settings we should be on the lookup for when configuring the queues?

       

      Here are the annotations we've used, and the rest of the HornetQ configuration is pretty much the default.

       

      @MessageDriven(mappedName = "jms/VNotifyEventBean", activationConfig =

      {

          @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),

          @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),

          @ActivationConfigProperty(propertyName = "destination", propertyValue = "topic/NotificationDestination"),

          @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "50")

      })

      @Pool (value=PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX,maxSize=50,timeout=20000)

       

      Thanks for any pointers.