[zeromq-dev] How to detect if a Queue or Exchange exists
Pavol Malosek
malosek at fastmq.com
Mon Jun 22 22:53:11 CEST 2009
Hello Sean,
There is not such a functionality in 0MQ, if you mean global exchanges and
queues the know workaround is to bind global objects to specific ports and
to make a connect attempt to ip:port from your app.
If you want to talk with zmq_server have a look into resolve_endpoint
function in libzmq/locator.cpp - note that only global objects are being
registered in zmq_server.
HTH.
malo
>----- Original Message -----
>From: Sean McKay
>To: zeromq-dev at mail.imatix.com
>Sent: Monday, June 22, 2009 10:13 PM
>Subject: [zeromq-dev] How to detect if a Queue or Exchange exists
>
>
>What is the best practice for detecting if a Queue or Exchange exists?
>
>In particular, I am seeking to avoid the assert error that kills my
application when it attempts to bind and the target queue isn't up
>and running yet.
>
>This is in the .Net framework, but I would be willing to do P/Invokes to
get access to any useful functions.
>
>Thanks,
>
>Sean
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list