1 Reply Latest reply on Sep 8, 2006 7:21 PM by Elias Ross

    How to limit JMS-MDB instance numbers in JBoss4.0.4?

    simon wang Newbie

      Hi ALL:
      I have modified relevant invoker-proxy-binding and container-configuration about JMS
      in server\default\conf\standardjboss.xml.
      But it seems not to work.I have a MDB like that:
      @MessageDriven
      public class MDBTest implements MessageListener{
      private static int count;
      pulbic MDBTest(){
      System.out.println(count++);
      }
      public void onMessage(Message msg) {
      ....
      }
      From the stand output ,the count indeed exceed the upper limit defined in previous configuration file.
      Anyone could give some help with this issue?
      Best Regards!
      Kingofhawks