Publish-subscribe java library