zeromq pub/sub message filter needs to reply when done
As described by Sebastian in this mailing list thread akka-user there is a race between sending the subscribe message to the ConcurrentSocketActor and receiving data on the zmq socket.
To allow the sender of the subscribe to at least wait for "completion" of the subscribe on the zmq socket, the ConcurrentSocketActor should reply when the settings have been applied.
To allow the sender of the subscribe to at least wait for "completion" of the subscribe on the zmq socket, the ConcurrentSocketActor should reply when the settings have been applied.
Leave a comment
on 2012-09-06 06:55 *
By viktorklang
Assigned to set to viktorklang
Status changed from New to Accepted
Solution: send the option update and the next message is an option query, when the query is answered you know the socket change has been received.