2 Replies Latest reply on Jan 30, 2007 4:01 PM by phisatmonster

    Starting MDB on deployment

    phisatmonster

      Is there a way to configure a Message Driven Bean such that on deployment of the MDB to the app server, the MDB will be created and placed in the instance pool? I've seen in the configuration files that the container pool is configured to have a minimum size set with the element to 1, which would seem to say that on deployment 1 MDB of that type will get created and placed in the instance pool. However, on standard deployment, the bean does not get created until a JMS mesage is sent to the destination the MDB is associated with. I've been able to do this in the past with BEA WebLogic, but I am migrating to JBoss now. If anyone could confirm this is not possible, or explain a way to set up the MDB so that it is created on deployment, that would be much appreciated. Thanks!