fix #8; just make java client know about receiving message not only publish via mqtt