Hi,

If I create an akka-zeromq client socket like this:

  val clientSocket = 
ZeroMQExtension(context.system).newSocket(SocketType.Req,
    Listener(self), Connect(url))

and there is no ZMQ process running or listening at the given URL, the 
client socket is still returned normally.
And later I can send a message like this:

  clientSocket ! ZMQMessage(zmqMsg)

but there will not be a reply. What is the best way to report an error if 
there is no ZMQ process running?
I could use ask (?) and let it time out, but is there a better way?

(Note: in this case, the Akka client is sending a message first and then 
waiting for a response from a ZMQ process.)

Thanks,
Allan



-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to