PeterJ, thanks a lot!
This is correct solution.
That way I am also able to use
<load-on-startup>1</load-on-startup>
in web.xml
I had tried adding similar construction before (but as injection into servlet), and it did
not work:
| @Depends({"-the mbean name goes here-"})
| public class JMSEventListenerServlet extends HttpServlet {
| ..
|
I did get error about not bound JNDI name (that was JMS resource, actually)
Could you explain please what is the difference between your working solution and that
one, which is not?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241264#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...