[zeromq-dev] Is jyre in use?

Adam Wynne awynne at gmail.com
Wed Jun 10 16:41:00 CEST 2015


Yes, I'm using JeroMQ.  But the jyre project itself needed to be updated
too (small changes to update dependency versions and remove the dependency
on filemq). Since the jyre project supports both jzmq and jeromq, you need
to have the jzmq library installed to compile jyre.  But this was easy and
I think things are working correctly, although I haven't tested for
compatibility with zyre.  I'm going to do a pull request to integrate my
changes into the main repo.

We have a Java code base for our project to enable portability between
platforms.  For our purposes, it looks like JeroMQ will perform well
enough, so I'm going with JeroMQ+Jyre.  If we find that performance isn't
sufficient we'll consider switching to JeroMQ+jzmq for some platforms.





On Wed, Jun 10, 2015 at 9:59 AM Utsav Drolia <utsavdrolia at gmail.com> wrote:

> Are you using JeroMQ or jzmq?
> From what you mentioned, it seems like you are using JeroMQ and if that’s
> the case, why would you need jzmq binding?
>
> On the other hand, have you tried doing a JNI wrapper for zyre? I have
> been going back and forth about JeroMQ+Jyre vs Zyre+JNI Wrapper and still
> undecided. Any thoughts?
>
>
> On Jun 4, 2015, at 11:47 PM, Adam Wynne <awynne at gmail.com> wrote:
>
> I think I have a partial fix for this.  I generated the zyre-jeromq
> project and then updated classes to org.zeromq.* and removed all usages of
> fmq.  All the zyre-jeromq tests are passing now.  If someone wants to take
> a look and provide feedback it's here: https://github.com/awynne/jyre.
> It looks like i need to get the full jzmq binding running to fix this
> properly, which will take me a bit more time since I haven't done that
> before.  I'll post results of that if folks are interested.
>
>
>
> On Thu, Jun 4, 2015 at 7:57 PM Adam Wynne <awynne at gmail.com> wrote:
>
>> Hi,
>>
>> Is anyone still using jyre?  If so, could you give some pointers on how
>> to get a sample program running with the latest code?
>>
>> Here's what I have done so far:
>>
>> * checked the latest jyre out of github (https://github.com/zeromq/jyre)
>>
>> * ran gen-zyre-jeromq.sh to generate a project that creates the
>> zyre-jeromq jar (this seemed like the right thing to do)
>>
>> * then looked at the src/test/examples classes and found that just about
>> every method being used is deprecated
>>
>> * I then found that there are 2 different versions of jeromq being
>> imported because filemq depends on an older version, which causes 2
>> different versions of some classes (like Zmsg) to be on the classpath (some
>> are in org.zeromq and some in org.jeromq)
>>
>> In case it needs to be updated, is there anyone who can help do so?
>>
>> Thanks
>> Adam
>>
>>
>> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150610/ee0d3083/attachment.htm>


More information about the zeromq-dev mailing list