I'm playing around with strophe and Openfire 3.7.1 (with user-service and monitoring plugin).
I've read in http://xmpp.org/extensions/xep-0136.html (7.2 Retrieving a Collection) that I could retrieve archived messages. I've installed the monitoring.jar plugin to my openfire server and I enabled archiving. I've read that I need open archiving to query archives, but this functionality is already in Monitoring plugin.
to quote Monitoring Plugin Readme: "The monitoring plugin adds support for chat archiving and server statistics to Openfire. It provides support for generating various reports on the server statistics, as well as managing, viewing, and reporting on chat logs."
I can see the archived messages in the monitoring GUI but I want to retrieve it in my client which I made using strophe.js library. I'm not sure how to do it. In the XEP-0136 example they created a IQ like this:
<iq type='get' xmlns='jabber:client'><retrieve xmlns='urn:xmpp:archive' with='test@localhost'>set</retrieve></iq> { nodeTree=iq, node=retrieve}
However openfire does not seem to reply. I'm not sure if I should use open archive plugin since if I check my monitoring tab the archives are already there.Moreover most of the posts concerning open archive are 2 years old so I'm not sure if it is still supported. Please advice.
Best Regards,
Stevenson Lee