imatix/zguide — pull request #126 by aorzecho (2011-11-15 15:20:40+00:00)
Title: Added Majodomo examples in Java

Hi,

I have added Majordomo examples in Java. These require latest jzmq to compile (needed changes have just been merged into imatix/jzmq )

While working on the java examples I also made 2 minor changes in C examples:

* mdbroker.c: Correcteded log message in s_service_require https://github.com/aorzecho/zguide-2/commit/0eccbeb26b0e8bb9a2770b2de1903f9dc5ac61d0
- s_service_require, message after adding new service was a generic "received message", changed to "added service"

* mdcliapi.c: Simplified while loops in mdcli_send
https://github.com/aorzecho/zguide-2/commit/5e70e727b698b9a472bb78cd0c26ac59e6c1bb29
- please correct me if I'm wrong, but reading the mdcli_send function I found the inner while (TRUE) loop confusing, so I refactored with just one loop (doing all the same I hope ;)

Best Regards,
Arkadiusz