-
1. Re: Dynamic Topic/Queue Creation which survive server restar
edcurry Nov 21, 2002 1:42 PM (in response to edcurry)New to the open _source_ world even :-)
-
2. Re: Dynamic Topic/Queue Creation which survive server restar
tedb Nov 23, 2002 9:17 PM (in response to edcurry)Have a look at:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ in this area, i also read a few newer posts which said that this was being worked on. This would save you having to write what your planning to.
I too am in need for this kind of functionality, Perhaps someone on this forum might know of the progress of this mbean persistence effort? -
3. Re: Dynamic Topic/Queue Creation which survive server restar
benzuo Mar 10, 2004 11:58 PM (in response to edcurry)How to use the JMX interface to create the dynamic queue/topic? can u give me the java code? thanks
-
4. Re: Dynamic Topic/Queue Creation which survive server restar
bartvh Mar 11, 2004 5:07 AM (in response to edcurry)I have been creating queues dynamically by (ab)using the deployer of jboss. I just create *-service.xml files in the deploy directory that define the queue... Works for me.
Hmmm, is this a good strategy? -
5. Re: Dynamic Topic/Queue Creation which survive server restar
genman Mar 11, 2004 1:16 PM (in response to edcurry)
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. -
6. Re: Dynamic Topic/Queue Creation which survive server restar
benzuo Mar 11, 2004 8:22 PM (in response to edcurry)hi bartvh
the Dynamic Topic/Queue mean the queue/topic only active one time,when the jboss restart ,i not wish find the topic/queue create last time,
Thanks -
7. Re: Dynamic Topic/Queue Creation which survive server restar
benzuo Mar 11, 2004 9:20 PM (in response to edcurry)hi,genman and all
thanks -
8. Re: Dynamic Topic/Queue Creation which survive server restar
jual Apr 22, 2004 5:28 AM (in response to edcurry)Hi at all
Please can You tell me something about Dynamic Topic/Queue.
Is there anyway to do it Server-Independant
Greets
JA -
9. Re: Dynamic Topic/Queue Creation which survive server restar
adrian.brock Apr 22, 2004 6:27 AM (in response to edcurry)JUAL
It is clearly stated in the JMS spec, that queue/topic and connection factory
construction is not defined and therefore there is no portable mechanism.
Please do some research in future before wasting people's time with frivolous
questions. -
10. Re: Dynamic Topic/Queue Creation which survive server restar
rina.ralison Feb 7, 2008 10:47 AM (in response to edcurry)Hi,
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.