a chat system like tencent qq base on ActiveMQ
Login:1.Send message to "ServerQuene" from a guid quene 2.watch the guid quene to receive from server message
LoadUser:if login success,then send a message to load user detail information then you can create a message quene named your username to send message to others