0 Replies Latest reply on Nov 28, 2007 10:22 PM by dfisher

    MDB, SLSB, and Pooling

    dfisher Newbie

      I have a MDB that calls a SLSB in onMessage() and I noticed that a lot of instances of the SLSB were being created.
      I wrote a quick test with the simplest case of 1 producer, 1 consumer, and 1 SLSB and threw a bunch of messages at it.

      A MDB will cause 100 instances of the SLSB to be pooled when using the default pool implementation. (ThreadLocalPool?)
      If the SLSB in configured to use StrictMaxPool, then only 1 instance of the SLSB is created.

      Are these results expected or have I broken my jboss configuration?

      Using version 4.2.2GA