activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuvaraj Vanarase <yuvaraj.vanar...@synechron.com>
Subject RE: ActiveMq persistence in xml
Date Tue, 27 Dec 2011 12:09:54 GMT
Not clearly understood the requirement. However--

1. if you would like to see message contents (readable I would say), let say using web console
of activemq, then just clicking on message does that provided toString() method implemented
accordingly for that class
2. if you would like to display the content to user/client in XML format..then 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/activemq/store/jdbc/adapter/DefaultJDBCAdapter.html

hope this helps!

Regards,
Yuvaraj


-----Original Message-----
From: Sheetal Kulkarni [mailto:Sheetal.Kulkarni@sungard.com] 
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/ActiveMq-persistence-in-xml-tp4236892p4236892.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message