This content has been marked as final.
Show 3 replies
-
1. Re: Getting a list of all Topics?
nphelps Aug 20, 2003 1:45 PM (in response to red_one)Connect to the MBeanSever and query it for all ObjectNames that fall in the jboss.mq.destination domain.
-
2. Re: Getting a list of all Topics?
red_one Aug 22, 2003 3:14 AM (in response to red_one)Hm. when this code runs, listOfName.size() == 0
why? -
3. Re: Getting a list of all Topics?
adrian.brock Aug 22, 2003 5:23 AM (in response to red_one)That is because you are creating your own mbeanserver.
You should locate the existing MBeanServer, e.g.
(MBeanServer) findMBeanServer(null).iterator().next();
Regards,
Adrian