<div dir="ltr">we have implemented android to android chat with rabbitmq using fanout and facing issues with it<br>we are using a unique queue per device and unique fanout exchange per user <br><br>but the issue with both are if a user  diconnects from network and connects again some messages are missed. the issue being with a new customer tag is created if a user disconnects and connects again i think so. so we created a manual customer tag but still facing the issue. so if a user is offline messages delivered to the queue are sometimes not received by user<br> we are using a server intermediate. so android client sends a message to server and the server publishes it<br><br>the code is at <br><br>https://github.com/barterli/barterli_android/tree/development/barter.li/src/li/barter/chat<br></div>