Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 5225 invoked from network); 23 Jan 2007 16:07:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2007 16:07:20 -0000 Received: (qmail 36794 invoked by uid 500); 23 Jan 2007 16:07:26 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 36771 invoked by uid 500); 23 Jan 2007 16:07:25 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 36762 invoked by uid 99); 23 Jan 2007 16:07:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 08:07:25 -0800 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 08:07:16 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H9OAh-0003cd-Kt for activemq-users@geronimo.apache.org; Tue, 23 Jan 2007 08:06:55 -0800 Message-ID: <8524539.post@talk.nabble.com> Date: Tue, 23 Jan 2007 08:06:55 -0800 (PST) From: doris To: activemq-users@geronimo.apache.org Subject: Re: Browse Message body in JMX In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: doristg@yahoo.com References: <8508370.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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 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.