[jboss-user] [EJB/JBoss] - MDB Init at deploy Time

damiano.pezzotti do-not-reply at jboss.com
Fri Mar 27 14:20:15 EDT 2009


Hi,
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?
Thanks

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221646#4221646

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221646



More information about the jboss-user mailing list