[jboss-user] [Messaging, JMS & JBossMQ] - Re: [JBossMQ] Recreation of programatically added Queues/Top

kahzoo do-not-reply at jboss.com
Thu Mar 20 20:29:17 EDT 2008


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



More information about the jboss-user mailing list