-
Notifications
You must be signed in to change notification settings - Fork 758
Closed
Description
Environment
NetMQ Version: 4.0.0.207
Operating System: Windows 10
.NET Version: 4.6.2
Expected behaviour
I have a pub-sub pattern implemented. In one of my scenario the pub disposes and will be recreated after a while (while subscribers remain intact).
The first message sent by the publisher after creating and stating it is lost, but if I give a delay of around 1 sec the message is received in the subscriber.
Actual behaviour
The first message must not be lost, also a delay looks unnecessary.
Steps to reproduce the behaviour
Create a pub-sub pattern in 2 different processes (same process will do the job as well).
Send a message from pub.
Dispose the pub and create it back again binding to the same port.
Try sending the message immediately, The first message will be lost.
Metadata
Metadata
Assignees
Labels
No labels