Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E7DF73B9 for ; Tue, 27 Dec 2011 12:10:48 +0000 (UTC) Received: (qmail 19544 invoked by uid 500); 27 Dec 2011 12:10:47 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 19504 invoked by uid 500); 27 Dec 2011 12:10:47 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 19494 invoked by uid 99); 27 Dec 2011 12:10:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2011 12:10:47 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [67.192.241.145] (HELO smtp145.dfw.emailsrvr.com) (67.192.241.145) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2011 12:10:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp14.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 246A62983AF for ; Tue, 27 Dec 2011 07:10:20 -0500 (EST) X-Virus-Scanned: OK Received: from smtp192.mex07a.mlsrvr.com (unknown [67.192.133.128]) by smtp14.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTPS id 148972983C6 for ; Tue, 27 Dec 2011 07:10:20 -0500 (EST) Received: from DFW1MBX18.mex07a.mlsrvr.com ([169.254.1.103]) by 207037-HUB09.mex07a.mlsrvr.com ([192.168.1.202]) with mapi; Tue, 27 Dec 2011 06:10:19 -0600 From: Yuvaraj Vanarase To: "users@activemq.apache.org" Date: Tue, 27 Dec 2011 06:09:54 -0600 Subject: RE: ActiveMq persistence in xml Thread-Topic: ActiveMq persistence in xml Thread-Index: AczEi5RL3TV/zyx1Sty2Hvg9jsDfawAAXpUw Message-ID: <5669C1899552264CA699F54A78E534D40F97B84736@DFW1MBX18.mex07a.mlsrvr.com> References: <1324985635825-4236892.post@n4.nabble.com> In-Reply-To: <1324985635825-4236892.post@n4.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Not clearly understood the requirement. However-- 1. if you would like to see message contents (readable I would say), let sa= y using web console of activemq, then just clicking on message does that pr= ovided toString() method implemented accordingly for that class 2. if you would like to display the content to user/client in XML format..t= hen offcourse object can be represented as XML using DOM or even Loggers do= that e.g. log4j/logback 3. If you want to show someone, the object stored in DB(e.g. object stored = as XMLType in Oracle), then you might have to override default behavior of = JDBCAdapter to control the read/write for specific DB http://activemq.apache.org/maven/5.3.1/activemq-core/apidocs/org/apache/act= ivemq/store/jdbc/adapter/DefaultJDBCAdapter.html hope this helps! Regards, Yuvaraj -----Original Message----- From: Sheetal Kulkarni [mailto:Sheetal.Kulkarni@sungard.com]=20 Sent: Tuesday, December 27, 2011 5:04 PM To: users@activemq.apache.org Subject: ActiveMq persistence in xml Hi, Does anyone knows how i can store the activemq messages in form of xml? Currently it stores messages as binary in database, i want to have a application which reads messages from database and show some analysis of those messages. Please comment. Sheetal -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveM= q-persistence-in-xml-tp4236892p4236892.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.