[jboss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic/Queue Creation which survive server restar

rina.ralison@gmail.com do-not-reply at jboss.com
Thu Feb 7 10:47:32 EST 2008


I am newbie on JBossMQ, sorry if my questions seem trivial.

First I am looking for MDB code samples who creates dynamically a new topic and place a text message inside. After that, do you know how many topics can a medium size JBoss AS supports? Finally what method a consummer should invoke in order to definitly empty a topic?

Thanks for all answers.

"genman" wrote : 
  | I would copy over a xxxx-service.xml to deploy dynamic queues/topic as well and have the deployer handle it.
  | You can also directly instantiate a queue by calling MBeanServer.createMBean a "org.jboss.mq.server.jmx.Queue" object and appropriate ObjectName.  Then set the "DestinationManager" on it, and call "start" on it.  This can be done remotely as well.

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

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

More information about the jboss-user mailing list