message library for java