On 1/22/07, doris <[EMAIL PROTECTED]> wrote:
I am trying to get the JMS message body inside JMX and it looks like the browseMessage method in the QueueViewMBean class would have done the trick. However, it doesn't look like it is implemented in the AMQ 4.1.0 release. Does anybody know how I can get the JMS message body out of JMX?
You could try this method http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/broker/jmx/QueueViewMBean.html#getMessage(java.lang.String) after using one of the browse() methods. If it doesn't return things quite as you need, we welcome patches to the MBeans http://incubator.apache.org/activemq/contributing.html -- James ------- http://radio.weblogs.com/0112098/
