This content has been marked as final.
Show 1 reply
-
1. Re: [JBossMQ] Recreation of programatically added Queues/Top
kahzoo Mar 20, 2008 8:29 PM (in response to fdsafdsa)If what you want to accomplish is to make sure that your queues/topics are created everytime your jboss server is rebooted, you can just use the destination mbeans.
It is described in "Destination MBeans" section in the JBoss administration guide, and you should be able to find some examples in deploy/jms/jbossmq-destinations-service.xml.
If you REALLY want to do it programatically, then:
http://wiki.jboss.org/wiki/Wiki.jsp?page=CreateAStartupClass
Since your MBean will depend on JBossMQ, you will probably need to use <depends ...> tag within your <mbean ...> configuration.