i am sorry ,my english is poor ,so i must write some pseudocode
I write some test code like this:
smackA–>sendmessage—>openfire(4.0.2 or 4.1.0) —> smackB
while(true){
smackA-->sendMessage();
wifiAdmin.disconnect(); (in sub thread)
sleep(3000)
wifiAdmin.connect(); (in sub thread)
}
Frequent broken network and reconnected ,i saw some message(one and the same) has been send twice,
and i has been closed offlineMessage in openfire admin(never save offlinemessage) ,plz help!
smack version 4.1.9
openfire version 4.0.2 and 4.1.0