Example.java is equivalent to integration/basic/basicTest.c
Set semaphore fairness to true and fix semWaitEnoughMembers acquirement
Write a better example scenario (based on basicTest.c) and fix newmsg typo