I'm trying to run zeromq using the Java bindings, but have trouble getting it to
work. The pubsub example on [1][2], compiles and run but produces only zero 
length 
messages.

        /sub.sh 
         : 
         : 
         : 
         ...

where the message should be <adress> : <content>

I'm running OS X on a multi user account and installed zeromoq on the admin 
account and installed the latest jzmq:

        su admin
        brew install zeromq --devel
        cd ~/Projects/external
        git clone git://github.com/zeromq/jzmq.git
        cd jzmq
        ./autogen.sh
        ./configure
        make
        make install

When trying to run Maven tests `mvn clean test` I get

        singleMessage(org.zeromq.ZDispatcherTest)  Time elapsed: 1.01 sec  <<< 
FAILURE!
        junit.framework.AssertionFailedError: expected:<0> but was:<1>

and `Running org.zeromq.ZFrameTest` gets stuck in an endless loop, so installed 
the library skipping the tests


Does anybody know how to solve this problem?


Best regards
Oliver


PS.

I'm using 

OS X 10.82
zeromq 3.2.1-rc2
jzmq 1.1.0-SNAPSHOT

And if it helps my efforts so far can be found at [3]. 

[1] http://zguide.zeromq.org/java:psenvpub
[2] http://zguide.zeromq.org/java:psenvsub
[3] https://github.com/oschrenk/zeromq-java-sample

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to