I tried that but as you mentioned only unacked messages would get processed.
On using a Jdbc Store; messages would be there in a table, that can be easily viewed (acked,unacked ..). Similar way, can we use some (activemq) api or tool to browse thru all messages (acked,unacked..) in the archive ? Thanks, Hussain Gary Tully wrote: > > Not automatically. The only way is stop the broker, copy that contents > of the archive back into the data directory and restart. Reprocessing > will only occur if the original data files were archived in error, > that is, that they contain some unacked messages, which should not be > the case. > > 2008/11/14 HussainP <[EMAIL PROTECTED]>: >> >> Thanks Gary for ur reply. >> >> For some reason messages in archive files needs to be viewed. I tried >> using >> HermesJMS but didnt find a way either.Few of them needs to be resubmitted >> on >> the queue for reprocessing. >> Is there a way to achieve this ? >> >> Thanks, >> Hussain >> >> >> >> Gary Tully wrote: >>> >>> Don't think there is a way short of starting a similar broker that >>> uses the archive as a data directory, not configuring any connectors >>> and looking at it through the web or jconsole. >>> AFAIK the archive feature protects against data file corruption or >>> inadvertent removal of a data file. The intention would be to copy the >>> contents of the archive back to the data directory in the event of >>> such an error. >>> >>> If you are trying this out, take a copy of the archive directory, just >>> in >>> case. >>> >>> 2008/11/13 HussainP <[EMAIL PROTECTED]>: >>>> >>>> Hi, >>>> >>>> ActiveMQ allows to store messages that are consumed into an archive >>>> directory. >>>> It creates datafiles for the same, How can one browse through it ? >>>> >>>> Thanks, >>>> Hussain >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/How-to-Browse-Messages-that-have-been-consumed-and-are-stored-in-the-archive-files---tp20479797p20479797.html >>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-Browse-Messages-that-have-been-consumed-and-are-stored-in-the-archive-files---tp20479797p20495462.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/How-to-Browse-Messages-that-have-been-consumed-and-are-stored-in-the-archive-files---tp20479797p20498599.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.