Re: [zeromq-dev] multiple publisher synchronization

2011-12-29 Thread Joshua Foster
They are only available in 3.x and up. See the man pages for a description. http://api.zeromq.org/3-1:zmq-socket Joshua On Dec 29, 2011, at 12:26 PM, Yi Ding wrote: Is XPUB/XSUB only available in versions 3.0 and up? I've read the guide and don't see anything mentioned about them in

Re: [zeromq-dev] jzmq availability in public Maven repositories

2011-12-29 Thread Daniel Lundin
Alternatively you could package the library files for the various platforms as resources within the JAR and automagically load the right one at runtime This is actually already how it's done, courtesy Karl Ostendorf (kwo). The relevant bits:

Re: [zeromq-dev] jzmq availability in public Maven repositories

2011-12-29 Thread Daniel Lundin
One way would be to effectively split the native bits and the java bits into two separate distributions. One deb/rpm/win-installer with libjzmq (JNI bridge to libzmq), and one published jar with the higher-level JVM-only parts (identical to /usr/share/java/jzmq.jar in the debian package today).

Re: [zeromq-dev] multiple publisher synchronization

2011-12-29 Thread Yi Ding
Is XPUB/XSUB only available in versions 3.0 and up? I've read the guide and don't see anything mentioned about them in there. Thanks, Yi On Wed, Dec 28, 2011 at 5:50 PM, Joshua Foster jhaw...@gmail.com wrote: I'm wondering if you could use an XPUB and XSUB socket. You know when to start

Re: [zeromq-dev] jzmq availability in public Maven repositories

2011-12-29 Thread Daniel Lundin
I went ahead and asked Sonatype for permission to post org.zeromq artifacts to their OSS maven repo, and in effect - maven central (the global repo). Ticket is here: https://issues.sonatype.org/browse/OSSRH-2649 This will solve the hosting/distribution problem neatly, and we can focus on the

Re: [zeromq-dev] jzmq availability in public Maven repositories

2011-12-29 Thread Gabriele Svelto
Hi Daniel, 2011/12/29 Daniel Lundin d...@eintr.org: This will solve the hosting/distribution problem neatly, and we can focus on the tricky business - i.e how to build multi-platform jars w/native code. Any Java-heads around here familiar with how that works in practice? it depends on how

Re: [zeromq-dev] jzmq availability in public Maven repositories

2011-12-29 Thread Michael Klishin
Daniel Lundin: Are there any other projects that do similar distribution of embedded native libs? VirtualBox Java client is a good example. It requires virtualbox native library to be available and lets you override its location. MK ___