The queue depth comes from an object that does not implement the javax.jms.Queue interface. So you can't cast it to that object to get the depth. What you want to do is get the MBeanServer and then look up the depth through JMX. Take a look at the Wiki.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855468#3855468 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855468 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user