0 Replies Latest reply on Dec 23, 2011 7:44 PM by Daniel Bastidas

    Jboss 5.1 set minimum MDB instances

    Daniel Bastidas Newbie



      I'm trying to set the minimum number of message driven bean instances, I'm using Jboss 5.1.


      My application have a lot of messages in one of my configured queues (more than 140.000 messages), and when I see the ConsumerCount through the jmx-console on this queue it's just 1 instance created.


      I have tried annotating my message driven bean class with:

      @Pool(value=PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX, maxSize=100, timeout=15000)


      I can see the value on the jmx-console, but only one instance of my MDB is created.


      Any help would be appreciated.