0 Replies Latest reply on Mar 27, 2009 2:20 PM by Damiano Pezzotti

    MDB Init at deploy Time

    Damiano Pezzotti Newbie

      I have an application that consists in an MDB that consumes messages from a topic.
      I need to init this EJB at deploy time (EJB has to init spring applicationContext).
      How can I do it?
      I tried to insert static code in my MDB class, but it seems that MDB class is loaded only when arrives a message on the topic.

      Any ideas?