merge tianrui's ReceiveMessage.java