2 Replies Latest reply on May 26, 2003 7:30 AM by Adrian Brock

    creating only one instance of a mdb does not work!

    johannes rainer Newbie

      hi
      i configured the mdb pool in the jboss.xml with:


      <enterprise-beans>
      <message-driven>
      <ejb-name>myMDB</ejb-name>
      <configuration-name>Standard Message Driven Bean</configuration-name>
      <destination-jndi-name>queue/myQueue</destination-jndi-name>
      <mdb-user>userName</mdb-user>
      <mdb-passwd>password</mdb-passwd>
      </message-driven>
      </enterprise-beans>

      <container-configurations>
      <container-configuration extends="Standard Message Driven Bean">
      <container-name>Standard Message Driven Bean</container-name>
      <container-pool-conf>
      1
      true
      </container-pool-conf>
      </container-configuration>
      </container-configurations>


      but it seems not to work. is it correct to set the configurations for the "Standard Message Driven Bean" ? or what other possibilities are there to limit jboss that only one mdb calculates (executes the onMessage method) at one time.