You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by 潘臻轩 <zh...@gmail.com> on 2014/09/09 15:36:10 UTC

jzmq bind to random port

hi, all
who know to use jzmq to bind to a random port
I find Jzmq support this api

socket.bindToRandomPort("tcp://127.0.0.1");

but while i run ,it happen

Exception in thread "main" java.lang.NoSuchMethodError:
org.zeromq.ZMQ$Socket.bindToRandomPort(Ljava/lang/String;)


who know it, please tell me to do, 3q

and i jzmq version is 2.1.0