Hi James, getMessage returns compositeData. Is there anyway to get the message body (the object message itself)?
Thanks. James.Strachan wrote: > > 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/ > > -- View this message in context: http://www.nabble.com/Browse-Message-body-in-JMX-tf3059883.html#a8524539 Sent from the ActiveMQ - User mailing list archive at Nabble.com.