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.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138209
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to