objectname value is ~~~~~~~~~~~~ org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=DLQ.EventLogqueue
Java code ~~~~~~ QueueViewMBean mbean = JMX.newMBeanProxy(con, name,QueueViewMBean.class, true); when i do mbean.getQueueSize() i am getting following error,Please kindly help me. Caused by: javax.management.AttributeNotFoundException: No such attribute: QueueSize at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:81) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:204) at javax.management.StandardMBean.getAttribute(StandardMBean.java:372) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647) -- View this message in context: http://activemq.2283324.n4.nabble.com/active-mq-5-5-to-5-8-upgrade-issue-tp4665828p4665857.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.