Try looking at XMPP, such as OpenFire (http://www.igniterealtime.org/projects/openfire/).
It is specifically designed for chat (point-to-point -- i.e. two parties, or group chat). JMS is not designed for chat. For example, JMS does not provide facilities for storing messages (and it's a bad practice to use ActiveMQ as a message store). Hope this helps! -- View this message in context: http://activemq.2283324.n4.nabble.com/Using-ActiveMQ-for-personalized-chat-service-tp4688033p4688284.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.