xmpp - How to get offline message from Tigase pubsub in smack library in android -
i have integrated tigase server , want store pubsub offline message , retrive of when user online.
for ex: user_a , user_b connected, if user_a sends message user_b , @ time user_b offline. in location message goes? user_b online didn't message. how retrieve offline message?
does have set properties in init.properties file regarding this?
here init.properties file content sets option configure tigase server.
--comp-class-1 = tigase.muc.muccomponent --virt-hosts = test --user-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase&password=tigase12 --user-db = mysql --admins = admin@test --comp-name-4 = message-archive --comp-name-3 = rest config-type = --gen-config-def --comp-name-2 = pubsub --comp-name-1 = muc --cluster-mode = false --sm-plugins = +message-archive-xep-0136,jabber:iq:register,jabber:iq:auth,urn:ietf:params:xml:ns:xmpp-sasl,urn:ietf:params:xml:ns:xmpp-bind,urn:ietf:params:xml:ns:xmpp-session,roster-presence,jabber:iq:privacy,jabber:iq:version,http://jabber.org/protocol/stats,starttls,vcard-temp,http://jabber.org/protocol/commands,jabber:iq:private,urn:xmpp:ping --debug = server,xmpp.impl,db,pubsub,component,components --comp-class-4 = tigase.archive.messagearchivecomponent --comp-class-3 = tigase.http.rest.restmessagereceiver --comp-class-2 = tigase.pubsub.pubsubcomponent # offline messages sess-man/plugins-conf/amp/store-limit[l]=200 amp/store-limit[l]=200 sess-man/plugins-conf/amp/msg-pubsub-jid=pubsub.coffeebean.local sess-man/plugins-conf/amp/msg-pubsub-node=message_sink sess-man/plugins-conf/amp/msg-pubsub-publisher=sess-admin@test.local
all answer valuable me , appreciated.
please advice.
thank you.
Comments
Post a Comment