moscajs/mosca

Received messages to client after reconnect

Opened this issue · 3 comments

I'm currently using mosca with mongodb as a backend, Sometimes i'm facing issue like i received published messages after reconnect.

example:
Client A: Subscribed to a topic
Client B: Published a message to to topic
Client A: Received message
.
.
.
.
.
After some time:
Client B: published a message
Client A: Not received a message
Client A: User reconnects client
Client A: Received message

Can any one please tell me why it is happening?

@mcollina : Any suggestion please??

I will be traveling for close to a month, unfortunately I won’t have time to help.

@mcollina thanks man :-) ... I will try to resolve this.. whenever you have a time pls look into this...