This content has been marked as final.
Show 4 replies
-
1. Re: Creating JMS Queue using jBoss JMX
juha May 10, 2002 9:58 AM (in response to tapik)yes it is,
you should try the JMS forum for details
-- Juha -
2. Re: Creating JMS Queue using jBoss JMX
tapik May 10, 2002 10:34 AM (in response to tapik)Thanks, but I'm using the JBoss 3.0RC1 and I cannot find any QueueMBean in my distribution. Please, could you help me? Thanks,
tapik -
3. Re: Creating JMS Queue using jBoss JMX
juha May 10, 2002 10:47 AM (in response to tapik)
you should try the JMS forum for details
-- Juha -
4. Re: Creating JMS Queue using jBoss JMX
tapik May 10, 2002 11:26 AM (in response to tapik)So I've found the answer in the on-line manual on the page http://jboss.org/online-manual/HTML/ch08s07.html :
// Get the MBean server
MBeanServer server = (MBeanServer)
MBeanServerFactory.findMBeanServer(null).iterator().next();
// Invoke the MBean
server.invoke(new ObjectName("JBossMQ", "service", "Server"),
"createTopic",
new Object[] { "myTopic" },
new String[] { "java.lang.String" });