I am working on the hornetQ ESB for an Integration project but then unable to find process to export the jms messages recevied onto clear text.
I would also be interested in knowing the process to delete/archive the journal files without missing any message.
JBoss SOA 5.3 GA
JBoss ESB 4.11
HornetQ Server version 2.2.10.GA
When running the export using the process provided in the hornetQ documentation
java -cp hornetq-core.jar org.hornetq.core.journal.impl.ExportJournal <JournalDirectory> <JournalPrefix> <FileExtension> <FileSize> <FileOutput>
I get the response as below
#File,JournalFileImpl: (hornetq-data-1.hq id = 1, recordID = 1)
This really doesn't help me understand what has happened to the request and also I am unable to decode the actual message that was transmitted across via the JMS provider.
As per the HornetQ documentation it says you would be able to get the message in clear text but I don't see the same happening. Has anyone got to the point of getting a clear text message.
My purpose of the above is for monitoring the # of messages that came in via the hornetQ server and really got processed and are pending processing. I know HornetQ takes care of reprocessing the pending messages but I want to have a little more flexibility to drop the request message on the queue for reprocessing, in case the biz decides to reprocess it.
Also I read a lot of issues related to archiving the old files - would we know how this works? Since I see cross-references among the journal files which means we really cannot delete the files AS-IS.
Any inputs would help...