简体   繁体   English

如何在java中使用smack api从openfire检索存档消息?

[英]how to retrieve archived messages from openfire using smack api in java?

Getting Archived Messages 获取存档的邮件

I don't know how to retrieve the archived messages , i have used monitoring Service plugin which combines Open Archive .I can see the archived messages in the OpenFire GUI. 我不知道如何检索存档的消息,我使用了结合Open Archive的监控服务插件。我可以在OpenFire GUI中看到存档的消息。


I googled about it and got to know that smack doesn't provide the facility and i have to create a custom stanza to communicate with open-fire . 我搜索了它并且知道smack没有提供设施,我必须创建一个自定义节open-fire通信。 I don't know how to create Custom Stanza using java and how to comprehend the reply... plz help 我不知道如何使用java创建Custom Stanza以及如何理解回复... plz帮助

通过在类中使用ExtensionElement类创建ExtensionElement并覆盖方法实现,您还可以阅读有关smack Provider Architecture的更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM