Basic Generic Java consumer / producer coordinator