0 Replies Latest reply on Apr 18, 2002 2:49 PM by Ivan N. Zhidov

    MDB pool behavior

    Ivan N. Zhidov Newbie

      Here is what I want to do:

      JBoss version 2.4.4

      1. setup a pool of MDBs. each MDB creates a socket-like connection upon ejbCreate() as an instance variable.

      2. when a bean receives a message via onMessage() part of the processing utilizes the instance connection.

      I setup the following in jboss.xml:

      and when logging I output the hashcode of the instance so I can tell them apart.

      The resulting behavior is not what I expected.
      The size of the pool appears to be ignored. There seems to be a new instance of MDB created upon receiving every message.

      Any ideas?